CRM-12965, moved help below text input
[civicrm-core.git] / templates / CRM / Badge / Form / Layout.tpl
CommitLineData
50998125
KJ
1{*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.3 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25*}
26{* this template is used for adding/editing badge layouts *}
27<h3>{if $action eq 1}{ts}New Badge Layout{/ts}{elseif $action eq 2}{ts}Edit Badge Layout{/ts}{else}{ts}Delete Badge Layout{/ts}{/if}</h3>
28<div class="crm-block crm-form-block crm-badge-layout-form-block">
29 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
30 {if $action eq 8}
31 <div class="messages status no-popup">
32 <div class="icon inform-icon"></div>
636f1cbe 33 {ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
50998125
KJ
34 </div>
35 {else}
36 <table class="form-layout-compressed">
50998125
KJ
37 <tr class="crm-badge-layout-form-block-title">
38 <td class="label">{$form.title.label}</td>
39 <td>{$form.title.html}</td>
40 </tr>
d34dbf05
KJ
41 <tr class="crm-badge-layout-form-block-label_format_name">
42 <td class="label">{$form.label_format_name.label}</td>
43 <td>{$form.label_format_name.html}</td>
636f1cbe 44 </tr>
50998125
KJ
45 <tr class="crm-badge-layout-form-block-description">
46 <td class="label">{$form.description.label}</td>
47 <td>{$form.description.html}</td>
48 </tr>
636f1cbe
KJ
49 <tr class="crm-badge-layout-form-block-elements">
50 <td class="label">{ts}Elements{/ts}</td>
51 <td>
52 <table class="form-layout-compressed">
53 <tr>
54 <td>{ts}Row{/ts}</td>
55 <td>{ts}Label{/ts}</td>
56 <td>{ts}Font{/ts}</td>
57 <td>{ts}Size{/ts}</td>
58 <td>{ts}Alignment{/ts}</td>
59 </tr>
60 {section name='i' start=1 loop=$rowCount}
61 {assign var='rowNumber' value=$smarty.section.i.index}
62 <tr>
63 <td>#{$rowNumber}</td>
64 <td>{$form.token.$rowNumber.html|crmAddClass:twenty}</td>
65 <td>{$form.font_name.$rowNumber.html}</td>
66 <td>{$form.font_size.$rowNumber.html}</td>
67 <td>{$form.text_alignment.$rowNumber.html}</td>
68 </tr>
69 {/section}
70 </table>
71 </td>
72 </tr>
73 <tr class="crm-badge-layout-form-block-attachment">
74 <td colspan="2">
75
76 </td>
77 </tr>
d87c3006
KJ
78 <tr class="crm-badge-layout-form-block-image_1">
79 <td class="label">{$form.image_1.label}</td>
0e7af214
KJ
80 <td>
81 {$form.image_1.html}
82 <span class="crm-clear-link">
83 (<a href="#" class="clear-image" imgname='image_1'>{ts}clear{/ts}</a>)
84 </span>
8367d0c5 85 <br/><span class="description">{ts}Click above and select a file double clicking on it. This image will displayed on top left{/ts}</span>
0e7af214 86 </td>
d87c3006
KJ
87 </tr>
88 <tr class="crm-badge-layout-form-block-image_2">
89 <td class="label">{$form.image_2.label}</td>
0e7af214
KJ
90 <td>
91 {$form.image_2.html}
92 <span class="crm-clear-link">
93 (<a href="#" class="clear-image" imgname='image_2'>{ts}clear{/ts}</a>)
94 </span>
8367d0c5 95 <br/><span class="description">{ts}Click above and select a file double clicking on it. This image will displayed on top right{/ts}</span>
0e7af214 96 </td>
d87c3006 97 </tr>
636f1cbe
KJ
98 <tr class="crm-badge-layout-form-block-add_barcode">
99 <td class="label">{$form.add_barcode.label}</td>
100 <td>{$form.add_barcode.html}&nbsp;&nbsp;&nbsp;{ts}on{/ts}&nbsp;&nbsp;&nbsp;{$form.barcode_alignment.html}</td>
101 </tr>
50998125
KJ
102 <tr class="crm-badge-layout-form-block-is_active">
103 <td class="label">{$form.is_active.label}</td>
104 <td>{$form.is_active.html}</td>
105 </tr>
106 <tr class="crm-badge-layout-form-block-is_default">
107 <td class="label">{$form.is_default.label}</td>
108 <td>{$form.is_default.html}</td>
109 </tr>
110 <tr class="crm-badge-layout-form-block-is_reserved">
111 <td class="label">{$form.is_reserved.label}</td>
112 <td>{$form.is_reserved.html}</td>
113 </tr>
114 </table>
115 {/if}
116 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
117</div>