<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 03:18:02 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MAGNOLIA-499] Allow for images to illustrate options in ButtonSet Controls (Radio buttons, Checkbox buttons)</title>
                <link>https://jira.magnolia-cms.com/browse/MAGNOLIA-499</link>
                <project id="10000" key="MAGNOLIA">Magnolia</project>
                    <description>

&lt;p&gt;Following patches allow images to be added to dialogs with options, e.g. a radio button list.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Each button (radio, checkbox) can have its own image.&lt;/li&gt;
	&lt;li&gt;the image is configured through the property &apos;iconSrc&apos; in the dialog definition for a particular option.&lt;/li&gt;
	&lt;li&gt;a custom css class can be configured through the property &apos;iconSrc&apos; in the dialog definition&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;&amp;#8212; originals/magnolia-2.1-SNAPSHOT/src/main/info/magnolia/cms/gui/control/Button.java  2005-07-13 17:15:01.000000000 +0200&lt;br/&gt;
+++ patched//magnolia-2.1-SNAPSHOT/src/main/info/magnolia/cms/gui/control/Button.java   2005-07-24 14:39:42.000000000 +0200&lt;br/&gt;
@@ -181,8 +181,8 @@&lt;br/&gt;
         }&lt;br/&gt;
         html.append(&quot;\&quot; &quot; + this.getHtmlCssClass() + &quot;&amp;gt;&quot;); //$NON-NLS-1$ //$NON-NLS-2$&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;html.append(this.getIconSrc());&lt;br/&gt;
         html.append(this.getLabel());&lt;br/&gt;
+        html.append(this.getIconSrc());&lt;br/&gt;
         html.append(&quot;&amp;lt;/a&amp;gt;&quot;); //$NON-NLS-1$&lt;br/&gt;
         return html.toString();&lt;br/&gt;
     }&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&amp;#8212; originals/magnolia-2.1-SNAPSHOT/src/main/info/magnolia/cms/gui/dialog/DialogButtonSet.java  2005-07-13 17:15:01.000000000 +0200&lt;br/&gt;
+++ patched//magnolia-2.1-SNAPSHOT/src/main/info/magnolia/cms/gui/dialog/DialogButtonSet.java   2005-07-24 15:02:18.000000000 +0200&lt;br/&gt;
@@ -71,6 +71,12 @@&lt;br/&gt;
                 Button button = new Button(this.getName(), value);&lt;br/&gt;
                 // if (n.getNodeData(&quot;label&quot;).isExist()) button.setLabel(n.getNodeData(&quot;label&quot;).getString());&lt;br/&gt;
                 button.setLabel(label);&lt;br/&gt;
+&lt;br/&gt;
+                String iconSrc = n.getNodeData(&quot;iconSrc&quot;).getString();&lt;br/&gt;
+                if ( !iconSrc.equals(&quot;&quot;) ) &lt;/p&gt;
{
+                    button.setIconSrc( iconSrc );
+                }
&lt;p&gt;+&lt;br/&gt;
                 if (setDefaultSelected &amp;amp;&amp;amp; n.getNodeData(&quot;selected&quot;).getBoolean()) &lt;/p&gt;
{ //$NON-NLS-1$
                     button.setState(ControlSuper.BUTTONSTATE_PUSHED);
                 }
&lt;p&gt;@@ -169,7 +175,10 @@&lt;br/&gt;
             control = new ButtonSet(this.getName(), this.getValue());&lt;br/&gt;
         }&lt;br/&gt;
         control.setButtonType(this.getButtonType());&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;control.setCssClass(CssConstants.CSSCLASS_BUTTONSETBUTTON);&lt;br/&gt;
+&lt;br/&gt;
+        // maem: extension to allow for fine grained layout control. E.g. radio buttons with picture&lt;br/&gt;
+        control.setCssClass(this.getConfigValue( &quot;cssClass&quot;, CssConstants.CSSCLASS_BUTTONSETBUTTON ) );&lt;br/&gt;
+&lt;br/&gt;
         if (this.getConfigValue(&quot;saveInfo&quot;).equals(&quot;false&quot;)) 
{ //$NON-NLS-1$ //$NON-NLS-2$
             control.setSaveInfo(false);
         }&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>all</environment>
        <key id="10900">MAGNOLIA-499</key>
            <summary>Allow for images to illustrate options in ButtonSet Controls (Radio buttons, Checkbox buttons)</summary>
                <type id="2" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10891&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="pbaerfuss">Philipp B&#228;rfuss</assignee>
                                    <reporter username="aemi">Michael Aemisegger</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Jul 2005 15:06:01 +0200</created>
                <updated>Tue, 17 Mar 2009 19:15:27 +0100</updated>
                            <resolved>Tue, 26 Jul 2005 11:08:15 +0200</resolved>
                                    <version>2.1 Final</version>
                                    <fixVersion>2.1 Final</fixVersion>
                                    <component>templating</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="11092" author="aemi" created="Sun, 24 Jul 2005 15:11:03 +0200"  >&lt;p&gt;(Please note, that above it should read:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;a custom css class can be configured through the property &apos;cssClass&apos; in the dialog definition )&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;An example for custom css classes is:&lt;/p&gt;

&lt;p&gt;a.pgnlDialogButtonsetButtonWithImage img &lt;/p&gt;
{	border: 0px; margin: 10px 0; display: block; }
&lt;p&gt;a.pgnlDialogButtonsetButtonWithImage {	}&lt;/p&gt;


&lt;p&gt;For the property &apos;cssClass&apos; in the dialog definition you then would set&lt;/p&gt;

&lt;p&gt;pgnlDialogButtonsetButtonWithImage mgnlDialogButtonsetButton&lt;/p&gt;


&lt;p&gt;Of course this can be simplified if this feature was incorporated in the trunk.&lt;/p&gt;</comment>
                            <comment id="11097" author="pbracher" created="Mon, 25 Jul 2005 15:20:53 +0200"  >&lt;p&gt;commited. please use the revision number for patches&lt;/p&gt;

&lt;p&gt;Thanks &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.magnolia-cms.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="11114" author="kraft" created="Tue, 26 Jul 2005 11:08:14 +0200"  >&lt;p&gt;reassigned to RC3&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>pagnolia.ch</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 25 Jul 2005 15:20:53 +0200</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            18 years, 31 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kraft</customfieldvalue>
            <customfieldvalue>aemi</customfieldvalue>
            <customfieldvalue>pbaerfuss</customfieldvalue>
            <customfieldvalue>pbracher</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01aqn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7622</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>