Skip to content

Commit

Permalink
Merge pull request #11369 from mukeshcompucorp/NDI-30-style-admin-pages
Browse files Browse the repository at this point in the history
CRM-21518: Added missing containers to template
  • Loading branch information
colemanw authored Dec 6, 2017
2 parents f51dcc1 + 71d7100 commit f287bd3
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 5 deletions.
7 changes: 5 additions & 2 deletions templates/CRM/Admin/Page/ContactType.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
<div class="help">
{ts}CiviCRM comes with 3 basic (built-in) contact types: Individual, Household, and Organization. You can create additional contact types based on these types to further differentiate contacts (for example you might create Student, Parent, Staff, and /or Volunteer types from the basic Individual type...).{/ts} {help id="id-contactSubtype-intro"}
</div>
{if $rows}
<div>

<div class="crm-content-block crm-block">
{if $rows}
<div>
{strip}
{* handle enable/disable actions*}
{include file="CRM/common/enableDisableApi.tpl"}
Expand Down Expand Up @@ -66,4 +68,5 @@
{crmButton q="action=add&reset=1" icon="plus-circle"}{ts}Add Contact Type{/ts}{/crmButton}
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
</div>
{/if}
3 changes: 2 additions & 1 deletion templates/CRM/Admin/Page/LabelFormats.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{if $action eq 1 or $action eq 2 or $action eq 8 or $action eq 16384}
{include file="CRM/Admin/Form/LabelFormats.tpl"}
{else}

<div class="crm-content-block crm-block">
{if $rows}
<div id="ltype">
{strip}
Expand Down Expand Up @@ -74,4 +74,5 @@
{ts 1=$crmURL}There are no Label Formats configured. You can<a href='%1'>add one</a>.{/ts}
</div>
{/if}
</div>
{/if}
4 changes: 2 additions & 2 deletions templates/CRM/Admin/Page/MessageTemplates.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
{/if}

{if $rows and $action ne 2 and $action ne 4}

<div class="crm-content-block crm-block">
<div id='mainTabContainer'>
<ul>
<li id='tab_user'> <a href='#user' title='{ts}User-driven Messages{/ts}'> {ts}User-driven Messages{/ts} </a></li>
Expand Down Expand Up @@ -162,7 +162,7 @@
</div>
{/foreach}
</div>

</div>
<script type='text/javascript'>
var selectedTab = 'user';
{if $selectedChild}selectedTab = '{$selectedChild}';{/if}
Expand Down
2 changes: 2 additions & 0 deletions templates/CRM/Admin/Page/PdfFormats.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
{capture assign="messageTemplatesURL"}{crmURL p="civicrm/admin/messageTemplates" q="reset=1"}{/capture}
{ts 1=$messageTemplatesURL}You can configure one or more PDF Page Formats for your CiviCRM installation. PDF Page Formats may be assigned to <strong><a href="%1">Message Templates</a></strong> to use when creating PDF letters.{/ts}
</div>
<div class="crm-content-block crm-block">
{if $rows}
<div id="ltype">
{strip}
Expand Down Expand Up @@ -69,3 +70,4 @@
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}
</div>
3 changes: 3 additions & 0 deletions templates/CRM/Admin/Page/RelationshipType.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
<p>{ts}Relationship types describe relationships between people, households and organizations. Relationship types labels describe the relationship from the perspective of each of the two entities (e.g. Parent &gt;-&lt; Child, Employer &gt;-&lt; Employee). For some types of relationships, the labels may be the same in both directions (e.g. Spouse &gt;-&lt; Spouse).{/ts} {$docLink}</p>
<p>{ts 1=$customURL}You can define as many additional relationships types as needed to cover the types of relationships you want to track. Once a relationship type is created, you may also define custom fields to extend relationship information for that type from <a href='%1'>Administer CiviCRM &raquo; Custom Data</a>.{/ts}{help id='id-relationship-types'} </p>
</div>

<div class="crm-content-block crm-block">
{if $rows}
{if !($action eq 1 and $action eq 2)}
<div class="action-link">
Expand Down Expand Up @@ -86,3 +88,4 @@
{crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
</div>
{/if}
</div>
2 changes: 2 additions & 0 deletions templates/CRM/Admin/Page/ScheduleReminders.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
{ts}Scheduled reminders allow you to automatically send messages to contacts regarding their memberships, participation in events, or other activities.{/ts} {$schedRemindersDocLink}
</div>
{/if}
<div class="crm-content-block crm-block">
{if $rows}
<div id="reminder">
{include file="CRM/Admin/Page/Reminders.tpl"}
Expand All @@ -57,5 +58,6 @@
{/if}
{crmButton p=$link q=$urlParams id="newScheduleReminder" icon="plus-circle"}{ts}Add Reminder{/ts}{/crmButton}
</div>
</div>
{/if}
{/if}
2 changes: 2 additions & 0 deletions templates/CRM/UF/Page/Group.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
{ts}CiviCRM Profile(s) allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features. They provide a powerful set of tools for you to collect information from constituents and selectively share contact information.{/ts} {help id='profile_overview'}
</div>

<div class="crm-content-block crm-block">
{if NOT ($action eq 1 or $action eq 2)}
<div class="crm-submit-buttons">
<a href="{crmURL p='civicrm/admin/uf/group/add' q="action=add&reset=1"}" id="newCiviCRMProfile-top" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Profile{/ts}</span></a>
Expand Down Expand Up @@ -173,3 +174,4 @@
{/if}
{/if}
{/if}
</div>

0 comments on commit f287bd3

Please sign in to comment.