diff --git a/instance-app/views/contact/edit-list.html b/instance-app/views/contact/edit-list.html new file mode 100644 index 00000000..23b9e388 --- /dev/null +++ b/instance-app/views/contact/edit-list.html @@ -0,0 +1,7 @@ +
- <% if (organization.classification) { %> - <%- organization.classification %> - - <% } else { %> - What type of organization is <%- organization.name %>? - <% } %> -
-- Add more info - You can use PopIt to store previous names and other important details about this organization. -
- <% } %> - -- <% if (organization.parent_id) { %> - <%- organization.parent_id.name %> - <% } %> -
- + + <%= render( 'field_source/display-editing.html', { sourceText: organization.get('field_sources.parent_id'), sourceID: 'source-parent_id-' + organization.id, field: 'field_sources[parent_id]' } )%><%- organization.founding_date || '' %>
- Dates should be in YYYY, YYYY-MM or YYYY-MM-DD format - + + <%= render( 'field_source/display-editing.html', { sourceText: organization.get('field_sources.founding_date'), sourceID: 'source-founding_date-' + organization.id, field: 'field_sources[founding_date]' } )%><%- organization.dissolution_date || '' %>
- Dates should be in YYYY, YYYY-MM or YYYY-MM-DD format - + + <%= render( 'field_source/display-editing.html', { sourceText: organization.get('field_sources.dissolution_date'), sourceID: 'source-dissolution_date-' + organization.id, field: 'field_sources[dissolution_date]' } )%>- Add posts - Organizations in PopIt can have pre-defined posts that members can then fill. -
- <% } %>- Add links to websites - If this organization has a website, or any online profile pages, you can add them here. -
- <% } %> -- Add contact details - PopIt is most useful when people have contact details, like their phone, email, and Twitter. -
- <% } %> -- Add sources - Add any URLs to documents from which the organization is derived here. -
- <% } %> -- Add identifiers - If this organization has special registration or ID numbers, you can add them here. -
- <% } %> -- <% if (organization.classification) { %> - <%- organization.classification %> - - <% } else { %> - What type of organization is <%- organization.name %>? - <% } %> -
-- <% if (organization.parent_id) { %> - <%- organization.parent_id.name %> - <% } %> -
- + + <%= render( 'field_source/display.html', { sourceText: organization.get('field_sources.parent_id'), sourceID: 'source-parent_id-' + organization.id } )%><%- organization.founding_date || '' %>
- Dates should be in YYYY, YYYY-MM or YYYY-MM-DD format - + + <%= render( 'field_source/display.html', { sourceText: organization.get('field_sources.founding_date'), sourceID: 'source-founding_date-' + organization.id } )%><%- organization.dissolution_date || '' %>
- Dates should be in YYYY, YYYY-MM or YYYY-MM-DD format - + + <%= render( 'field_source/display.html', { sourceText: organization.get('field_sources.dissolution_date'), sourceID: 'source-dissolution_date-' + organization.id } )%>- Add details - You can use PopIt to store extra information about this person, like who they are and when they were born. -
- <% } %> -- Add links to websites - If this person has a website, or any online profile pages, you can add them here. -
- <% } %> -- Add contact details - PopIt is most useful when people have contact details, like their phone, email, and Twitter. -
- <% } %> -- Add a membership - Is this person a member of an organization or party? -
- <% } %> -- Add sources - Add any URLs to documents from which the person is derived here. -
- <% } %> -- Add identifiers - If this person has special registration or ID numbers, you can add them here. -
- <% } %> -- Add a membership - Is this person a member of an organization or party? -
- <% } else { %> - Add another membership - <% } %> -+ Add a membership + Is this person a member of an organization or party? +
+ <% } else { %> + Add another membership + <% } %><%- person.summary %>
- + + <%= render( 'field_source/display.html', { sourceText: person.get('field_sources.summary'), sourceID: 'source-summary-' + person.id } )%><%- person.birth_date || '' %>
- - Dates should be in YYYY, YYYY-MM or YYYY-MM-DD format + + <%= render( 'field_source/display.html', { sourceText: person.get('field_sources.birth_date'), sourceID: 'source-birth_date-' + person.id } )%><%- person.death_date || '' %>
- - Dates should be in YYYY, YYYY-MM or YYYY-MM-DD format + + <%= render( 'field_source/display.html', { sourceText: person.get('field_sources.death_date'), sourceID: 'source-death_date-' + person.id } )%>Add links to websites If this person has a website, or any online profile pages, you can add them here.
<% } else { %> - Add another link + Add another link <% } %> - -Add contact details PopIt is most useful when people have contact details, like their phone, email, and Twitter.
<% } else { %> - Add more contact details + Add more contact details <% } %> - -Add sources Add any URLs to documents from which the person is derived here.
<% } else { %> - Add another source + Add another source <% } %> - -Add identifiers If this person has special registration or ID numbers, you can add them here.
<% } else { %> - Add another identifier + Add another identifier <% } %> - -<%- post.role %>
+ + <%= render( 'field_source/display-editing.html', { sourceText: post.get('field_sources.role'), sourceID: 'source-role-' + post.id, field: 'field_sources[role]' } )%><%- post.area.name %>
+ + <%= render( 'field_source/display-editing.html', { sourceText: post.get('field_sources.area.name'), sourceID: 'source-area-' + post.id, field: 'field_sources[area][name]' } )%>