LP#1721304 - Add labels for config.standing_penalty in IDL xml
authorCesar Velez <Cesar.Velez@equinoxinitiative.org>
Thu, 5 Oct 2017 16:20:29 +0000 (17:20 +0100)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 8 Nov 2017 15:05:32 +0000 (10:05 -0500)
This will fix ugly grid headers in web staff client on the
Patron | Message page.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/examples/fm_IDL.xml

index 6b763dd..535cee6 100644 (file)
@@ -4031,13 +4031,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
        <class id="csp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::standing_penalty" oils_persist:tablename="config.standing_penalty" reporter:label="Standing Penalty">
                <fields oils_persist:primary="id" oils_persist:sequence="config.standing_penalty_id_seq">
-                       <field name="id" reporter:selector="name" reporter:datatype="id"/>
-                       <field name="name"  reporter:datatype="text"/>
-                       <field name="label"  reporter:datatype="text" oils_persist:i18n="true"/>
-                       <field name="block_list" reporter:datatype="text"/>
-                       <field name="staff_alert" reporter:datatype="bool"/>
-                       <field name="org_depth" reporter:datatype="int"/>
-                       <field name="ignore_proximity" reporter:datatype="int"/>
+                       <field reporter:label="Penalty ID" name="id" reporter:selector="name" reporter:datatype="id"/>
+                       <field reporter:label="Name" name="name"  reporter:datatype="text"/>
+                       <field reporter:label="Label" name="label"  reporter:datatype="text" oils_persist:i18n="true"/>
+                       <field reporter:label="Block List" name="block_list" reporter:datatype="text"/>
+                       <field reporter:label="Staff Alert" name="staff_alert" reporter:datatype="bool"/>
+                       <field reporter:label="Org Depth" name="org_depth" reporter:datatype="int"/>
+                       <field reporter:label="Ignore Proximity" name="ignore_proximity" reporter:datatype="int"/>
                </fields>
                <links/>
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">