Revision 10357
Added by Chris Jones over 7 years ago
lib/style/common/templates/metacatui/entryForm.tmpl | ||
---|---|---|
1174 | 1174 |
|
1175 | 1175 |
<!-- END BRL ALTERNATE IDENTIFIERS --> |
1176 | 1176 |
|
1177 |
|
|
1178 |
<!-- |
|
1179 | 1177 |
<div class="control-group"> |
1180 |
<label class="control-label" for="identifier">Data Set Identifier</label> |
|
1181 |
<div class="controls"> |
|
1182 |
<input type="text" name="identifier" value="[%identifier%]"> |
|
1183 |
<span class="help-block"> |
|
1184 |
If available, please enter a name or number that uniquely identifies and |
|
1185 |
describes concisely the data set. Alternatively, provide other pertinent |
|
1186 |
information that can identify and locate the data set within your site's |
|
1187 |
data management system.</span> |
|
1188 |
</div> |
|
1189 |
</div> |
|
1190 |
--> |
|
1191 |
|
|
1192 |
<!-- BEGIN BRL MULTIPLE ALTERNATE IDENTIFIERS --> |
|
1193 |
<div class="control-group"> |
|
1194 |
<label class="control-label" for="identifier">Alternate Identifier</label> |
|
1195 |
<div class="controls"> |
|
1196 |
<input name="identifier" id="identifier"> |
|
1197 |
<span class="help-block"> |
|
1198 |
If available, please enter a name or number that uniquely identifies and |
|
1199 |
describes concisely the data set. Alternatively, provide other pertinent |
|
1200 |
information that can identify and locate the data set within your site's |
|
1201 |
data management system.</span> |
|
1202 |
</div> |
|
1203 |
</div> |
|
1204 |
<div class="control-group"> |
|
1205 |
<label class="control-label" for="addIdentifierButton"></label> |
|
1206 |
<div class="controls"> |
|
1207 |
<input type="button" class="btn" value="Add Identifier" onClick="addIdentifier()"> |
|
1208 |
</div> |
|
1209 |
</div> |
|
1210 |
|
|
1211 |
<div class="control-group"> |
|
1212 |
<label class="control-label" for="identifierTable"></label> |
|
1213 |
<div class="controls"> |
|
1214 |
<table> |
|
1215 |
<tr id="addIdentifier"> |
|
1216 |
<td colspan="6"> |
|
1217 |
</tr> |
|
1218 |
[% numIdentifier = 0 %] |
|
1219 |
[% IF identifierCount %] |
|
1220 |
[% numIdentifier = identifierCount %] |
|
1221 |
<tr class="sectbody" id="identifierHRRow"> |
|
1222 |
<td colSpan="6"> |
|
1223 |
<hr width = "85%"/> |
|
1224 |
</td> |
|
1225 |
</tr> |
|
1226 |
[% END %] |
|
1227 |
<input type="hidden" name="identifierCount" value="[%numIdentifier%]" id="identifierCount"> |
|
1228 |
|
|
1229 |
[% cnt = 1 %] |
|
1230 |
[% WHILE cnt <= numIdentifier%] |
|
1231 |
<tr class="sectbody"> |
|
1232 |
<td class="rightCol"> |
|
1233 |
<a style="cursor:pointer"> |
|
1234 |
<i onClick="cleanTextNodes('identifierHRRow', 'addidentifierrow');moveUpRow(event)" |
|
1235 |
class="icon-arrow-up" |
|
1236 |
alt="Move Up"></i> |
|
1237 |
</a> |
|
1238 |
<a style="cursor:pointer"> |
|
1239 |
<i onClick="cleanTextNodes('identifierHRRow', 'addidentifierrow');moveDownRow(event, 'addidentifierrow')" |
|
1240 |
class="icon-arrow-down" |
|
1241 |
alt="Move Down"></i> |
|
1242 |
</a> |
|
1243 |
<a style="cursor:pointer"> |
|
1244 |
<i class="icon-remove-sign" |
|
1245 |
onClick="delRow(event)" alt="Delete"></i> |
|
1246 |
</a> |
|
1247 |
</td> |
|
1248 |
[% SET id = "identifierValue${cnt}" %] |
|
1249 |
<td colspan="5" align ="left" style="cursor:pointer" |
|
1250 |
onClick="identifierEditRow(event, 0, '[%$id%]')"> |
|
1251 |
Identifier: [%$id%] |
|
1252 |
<input name="identifier" type="hidden" value="[%$id%]"/> |
|
1253 |
</tr> |
|
1254 |
[% cnt = cnt + 1 %] |
|
1255 |
[% END %] |
|
1256 |
|
|
1257 |
<tr class="sectbody" id="addidentifierrow"> |
|
1258 |
<td class="bordertop" valign="top" align="right"></td> |
|
1259 |
<td class="bordertop" align="left" colspan="5"></td> |
|
1260 |
</tr> |
|
1261 |
|
|
1262 |
</table> |
|
1263 |
</div> |
|
1264 |
</div> |
|
1265 |
|
|
1266 |
<!-- END BRL ALTERNATE IDENTIFIERS ---> |
|
1267 |
|
|
1268 |
|
|
1269 |
<div class="control-group"> |
|
1270 | 1178 |
<label class="control-label" for="dataMedium">*Data Medium</label> |
1271 | 1179 |
<div class="controls"> |
1272 | 1180 |
[% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital") %] |
Also available in: Unified diff
Remove the duplicated alternate identifier section.
It seemed to have been caused by a branch code merge.