Enhancement #898

Use "backend style" radio toggle in front-end

Added by Blatti Yves almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:02/16/2015
Priority:HighDue date:
Assignee:-% Done:

0%

Category:-
Target version:4.3.1
Sponsor: Ergonomic impact:
Functional impact:

Description

We really like the "toggle radio" buttons in backend like this one :

But they're not natively supported in front-end.
The need a JS script found in backend or in protostar Template for front-end (see http://asitvd.depth.ch/templates/protostar/js/template.js).

There's is already one or two of these used in easySDI FE, in pricing management.

We should either set this (presence of this script) as a prerequisite (use protostar, or add script in template) or not use them.

To enable radios like this in a form:

        <field name="data_free_fixed_fee" 
               type="radio" 
               class="btn-group btn-group-yesno" 
               label="COM_EASYSDI_SHOP_FORM_LBL_PRICINGORGANISM_FIXED_COSTS_IF_DATA_FREE" 
               description="COM_EASYSDI_SHOP_FORM_DESC_PRICINGORGANISM_FIXED_COSTS_IF_DATA_FREE" 
               default="0">
            <option value="0">JNO</option>
            <option value="1">JYES</option>
        </field>

What does TC thinks of this ?

History

#1 Updated by Mérour Xavier almost 3 years ago

  • Tracker changed from Feature to Enhancement
  • Priority changed from Normal to High

Changed to "enhancement" since it's not a new feature.

#2 Updated by Van Hoecke Hélène almost 3 years ago

  • Assignee changed from Technical Committee to Magoni Bruno

TC validates.

#3 Updated by Magoni Bruno almost 3 years ago

  • Status changed from Request For Comments to Accepted
  • Assignee deleted (Magoni Bruno)

#4 Updated by Magoni Bruno almost 3 years ago

  • Target version set to Unplanned

#5 Updated by Mérour Xavier almost 3 years ago

  • Assignee set to Blatti Yves

This enhancement should be described as well in WIKI for any user who would like to add it in its own template.

#6 Updated by Villemagne Jérôme almost 3 years ago

  • Status changed from Accepted to Affected

#7 Updated by Villemagne Jérôme almost 3 years ago

  • Status changed from Affected to Resolved

#8 Updated by Villemagne Jérôme almost 3 years ago

  • Status changed from Resolved to Closed
  • Assignee deleted (Blatti Yves)
  • Target version changed from Unplanned to 4.3.1

Also available in: Atom PDF