CRM-15168 add titles to more enities
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 22 Aug 2014 09:12:53 +0000 (21:12 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 22 Aug 2014 09:12:53 +0000 (21:12 +1200)
xml/schema/Campaign/Survey.xml
xml/schema/Core/Note.xml
xml/schema/Core/Tag.xml
xml/schema/Core/UFGroup.xml

index e85b1eeb13e947515f82a4a6486903f21f13549b..4e810ccb85e2937841c1960f27f7d734e2de6bbd 100644 (file)
@@ -8,6 +8,7 @@
 
   <field>
     <name>id</name>
+    <title>Survey ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Survey id.</comment>
@@ -32,6 +33,7 @@
 
   <field>
     <name>campaign_id</name>
+    <title>Survey Campaign ID</title>
     <type>int unsigned</type>
     <default>NULL</default>
     <comment>Foreign key to the Campaign.</comment>
@@ -73,6 +75,7 @@
 
   <field>
     <name>recontact_interval</name>
+    <title>Follow up Interval</title>
     <type>text</type>
     <comment>Recontact intervals for each status.</comment>
     <html>
@@ -85,6 +88,7 @@
 
   <field>
     <name>instructions</name>
+    <title>Instructions</title>
     <type>text</type>
     <localizable>true</localizable>
     <comment>Script instructions for volunteers to use for the survey.</comment>
 
   <field>
     <name>release_frequency</name>
+    <title>Survey Hold Duration</title>
     <type>int unsigned</type>
     <default>NULL</default>
     <comment>Number of days for recurrence of release.</comment>
 
   <field>
     <name>is_active</name>
+    <title>Survey Is Active</title>
     <type>boolean</type>
     <default>1</default>
     <comment>Is this survey enabled or disabled/cancelled?</comment>
 
   <field>
     <name>is_default</name>
+    <title>Is Default Survey</title>
     <type>boolean</type>
     <default>0</default>
     <comment>Is this default survey?</comment>
 
   <field>
     <name>created_id</name>
+    <title>Survey Created By</title>
     <type>int unsigned</type>
     <comment>FK to civicrm_contact, who created this Survey.</comment>
     <add>3.3</add>
   </field>
   <foreignKey>
-      <name>created_id</name>
-      <table>civicrm_contact</table>
-      <key>id</key>
-      <add>3.3</add>
-      <onDelete>SET NULL</onDelete>
+    <name>created_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>3.3</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
 
   <field>
 
   <field>
     <name>last_modified_id</name>
+    <title>Survey Modified</title>
     <type>int unsigned</type>
     <comment>FK to civicrm_contact, who recently edited this Survey.</comment>
     <add>3.3</add>
 
   <field>
     <name>last_modified_date</name>
+    <title>Survey Modified On</title>
     <type>datetime</type>
     <comment>Date and time that Survey was edited last time.</comment>
     <add>3.3</add>
 
   <field>
     <name>result_id</name>
+    <title>Survey Result</title>
     <type>int unsigned</type>
     <default>NULL</default>
     <comment>Used to store option group id.</comment>
   </field>
   <field>
     <name>bypass_confirm</name>
+    <title>No Email Verification</title>
     <type>boolean</type>
     <default>0</default>
     <comment>Bypass the email verification.</comment>
index 9b6e0dba3582f012f59dc88a780a51e8324eb710..cb3740e01ce7ff5ea793daa449a222688e163eab 100644 (file)
@@ -8,87 +8,95 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Note ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <title>Note ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Note ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>entity_table</name>
-       <type>varchar</type>
-       <length>64</length>
-       <required>true</required>
-       <comment>Name of table where item being referenced is stored.</comment>
-       <add>1.1</add>
+    <name>entity_table</name>
+    <title>Note Entity</title>
+    <type>varchar</type>
+    <length>64</length>
+    <required>true</required>
+    <comment>Name of table where item being referenced is stored.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>entity_id</name>
-       <type>int unsigned</type>
-       <required>true</required>
-       <comment>Foreign key to the referenced item.</comment>
-       <add>1.1</add>
+    <name>entity_id</name>
+    <title>Note Entity ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Foreign key to the referenced item.</comment>
+    <add>1.1</add>
   </field>
   <dynamicForeignKey>
-       <idColumn>entity_id</idColumn>
-       <typeColumn>entity_table</typeColumn>
-       <add>1.1</add>
+    <idColumn>entity_id</idColumn>
+    <typeColumn>entity_table</typeColumn>
+    <add>1.1</add>
   </dynamicForeignKey>
   <index>
-       <name>index_entity</name>
-       <fieldName>entity_table</fieldName>
-       <fieldName>entity_id</fieldName>
-       <add>1.1</add>
+    <name>index_entity</name>
+    <fieldName>entity_table</fieldName>
+    <fieldName>entity_id</fieldName>
+    <add>1.1</add>
   </index>
   <field>
-       <name>note</name>
-       <type>text</type>
-       <comment>Note and/or Comment.</comment>
-       <html>
-         <type>TextArea</type>
-         <rows>4</rows>
-         <cols>60</cols>
-       </html>
-       <import>true</import>
-       <headerPattern>/Note|Comment/i</headerPattern>
-       <dataPattern>//</dataPattern>
-       <add>1.1</add>
+    <name>note</name>
+    <title>Note</title>
+    <type>text</type>
+    <comment>Note and/or Comment.</comment>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>60</cols>
+    </html>
+    <import>true</import>
+    <headerPattern>/Note|Comment/i</headerPattern>
+    <dataPattern>//</dataPattern>
+    <add>1.1</add>
   </field>
   <field>
-       <name>contact_id</name>
-       <type>int unsigned</type>
-       <comment>FK to Contact ID creator</comment>
-       <add>1.1</add>
+    <name>contact_id</name>
+    <title>Note Created By</title>
+    <type>int unsigned</type>
+    <comment>FK to Contact ID creator</comment>
+    <add>1.1</add>
   </field>
   <foreignKey>
-       <name>contact_id</name>
-       <table>civicrm_contact</table>
-       <key>id</key>
-       <add>1.1</add>
-       <onDelete>SET NULL</onDelete>
+    <name>contact_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>1.1</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-       <name>modified_date</name>
-       <type>date</type>
-       <comment>When was this note last modified/edited</comment>
-       <add>1.1</add>
+    <name>modified_date</name>
+    <title>Note Modified By</title>
+    <type>date</type>
+    <comment>When was this note last modified/edited</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>subject</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>subject of note description</comment>
-       <add>1.5</add>
+    <name>subject</name>
+    <title>Subject</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>subject of note description</comment>
+    <add>1.5</add>
   </field>
   <field>
-       <name>privacy</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)</comment>
-       <add>3.3</add>
+    <name>privacy</name>
+    <title>Privacy</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)</comment>
+    <add>3.3</add>
   </field>
 </table>
index 7ca3b058d88a773de4e22b7adccafc8829ef4919..000b0580464668efd7d98f60e2e82c6750676317 100644 (file)
@@ -9,6 +9,7 @@
   <log>true</log>
   <field>
       <name>id</name>
+      <title>Tag ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Tag ID</comment>
@@ -45,6 +46,7 @@
   </field>
   <field>
        <name>is_selectable</name>
+      <title>Display Tag?</title>
        <type>boolean</type>
        <default>1</default>
        <comment>Is this tag selectable / displayed</comment>
     <add>3.2</add>
   </field>
   <field>
-      <name>created_id</name>
-      <type>int unsigned</type>
-      <comment>FK to civicrm_contact, who created this tag</comment>
-      <add>3.4</add>
+    <name>created_id</name>
+    <title>Tag Created By</title>
+    <type>int unsigned</type>
+    <comment>FK to civicrm_contact, who created this tag</comment>
+    <add>3.4</add>
   </field>
   <foreignKey>
-      <name>created_id</name>
-      <table>civicrm_contact</table>
-      <key>id</key>
-      <add>3.4</add>
-      <onDelete>SET NULL</onDelete>
+    <name>created_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>3.4</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>created_date</name>
-      <type>datetime</type>
-      <title>Tag Created Date</title>
-      <comment>Date and time that tag was created.</comment>
-      <add>3.4</add>
+    <name>created_date</name>
+    <type>datetime</type>
+    <title>Tag Created Date</title>
+    <comment>Date and time that tag was created.</comment>
+    <add>3.4</add>
   </field>
 </table>
index e9ae71bad852b21d7dcc22605ffde5aa8b3b2205..40d2e21a96f072dbd450d54054fc12f3f88b78f2 100644 (file)
   </field>
   <field>
       <name>add_to_group_id</name>
+      <title>Add Contact To Group</title>
       <type>int unsigned</type>
       <comment>foreign key to civicrm_group_id</comment>
   </field>
   </foreignKey>
    <field>
        <name>add_captcha</name>
+       <title>Show Captcha On Profile</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Should a CAPTCHA widget be included this Profile form.</comment>
   </field>
   <field>
        <name>is_map</name>
+       <title>Map Profile</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Do we want to map results from this profile.</comment>
   </field>
   <field>
        <name>is_edit_link</name>
+       <title>Show Edit Link?</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Should edit link display in profile selector</comment>
   </field>
   <field>
        <name>is_uf_link</name>
+       <title>Show Link to CMS User</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Should we display a link to the website profile in profile selector</comment>
   </field>
   <field>
        <name>is_update_dupe</name>
+       <title>Update on Duplicate</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Should we update the contact record if we find a duplicate</comment>
   </field>
   <field>
        <name>cancel_URL</name>
+       <title>Profile Cancel URL</title>
        <type>varchar</type>
        <length>255</length>
        <comment>Redirect to URL when Cancle button clik .</comment>
   </field>
   <field>
        <name>is_cms_user</name>
+       <title>Create CMS User?</title>
        <type>boolean</type>
        <default>0</default>
        <comment>Should we create a cms user for this profile </comment>
   </field>
   <field>
        <name>notify</name>
+       <title>Notify on Profile Submit</title>
        <type>text</type>
        <add>1.8</add>
   </field>