Changeset 8314 for mauRepo/MolesManager
- Timestamp:
- 14/05/12 12:55:53 (9 years ago)
- Location:
- mauRepo/MolesManager/trunk/src/MolesManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/MolesManager/trunk/src/MolesManager/static/templates/cedaBrowse.html
r8313 r8314 102 102 show: "blind", 103 103 hide: "explode", 104 title: ' Help'104 title: 'citation' 105 105 }); 106 106 $("#b_cit").click(function() { 107 107 $citationdialog.dialog('open'); 108 return false; 109 }); 110 var $downloaddialog = $('<div></div>') 111 .html('{{ download_name }} <a href="{{ download_link }}" target="_blank">download</a>') 112 .dialog({ 113 autoOpen: false, 114 show: "blind", 115 hide: "explode", 116 title: 'download' 117 }); 118 $("#b_download").click(function() { 119 $downloaddialog.dialog('open'); 108 120 return false; 109 121 }); … … 179 191 <button id="b1">sample data</button> 180 192 <br/> 181 <button id="b 2">download and services</button>193 <button id="b_download">download and services</button> 182 194 <br/> 183 195 <button id="b3">apply for access</button> … … 253 265 <li><a href="#tabs-6">Project Details</a></li> 254 266 <li><a href="#tabs-7">Data Production Details</a></li> 255 <li><a href="#tabs-8">documentation and links</a></li> 256 <li><a href="#tabs-9">archive content details</a></li> 267 <li><a href="#tabs-8">Documentation and links</a></li> 268 <li><a href="#tabs-9">Archive content details</a></li> 269 <li><a href="#tabs-10">Keywords</a></li> 270 <li><a href="#tabs-11">Previous Identifiers Used</a></li> 257 271 </ul> 258 272 … … 332 346 <div id="tabs-9"> 333 347 <p> 348 For further details see the following link: <br/> 349 <a href="{{ moles2url }}" target="_blank">CEDA MOLES2 Metadata Catalogue Entry</a> 350 </p> 351 <!-- 334 352 <textarea readonly="readonly" width="100%" cols="90" rows="4" style="overflow=y:scroll"> 335 353 Number Of Files : {{ archive_no_files }} … … 338 356 {% endfor %} 339 357 </textarea> 340 </p> 358 --> 359 </div> 360 <div id="tabs-10"> 361 <p> 362 Keywords : {{ keywords }} 363 </p> 364 </div> 365 <div id="tabs-11"> 366 <p> 367 <a href="{{ moles2url }}" target="_blank">{{ moles2url }}</a> 368 </p> 341 369 </div> 342 370 </div> -
mauRepo/MolesManager/trunk/src/MolesManager/views/cedaBrowse.py
r8312 r8314 23 23 if v.authority.title == 'ceda_title': 24 24 c['title'] = v.code 25 if v.authority.title == 'moles2url': 26 c['moles2url'] = v.code 25 27 for v in record.relatedParty: 26 28 if v.role.name == 'cl_author': … … 59 61 c['related_data'] = record.relatedObservation; 60 62 c['quality_statement'] = record.resultQuality 63 c['keywords'] = record.keywords[0].keyword[0]; 64 c['download_link'] = record.result.source[0].linkage 65 c['download_name'] = record.result.source[0].name 61 66 lk = [] 62 67 for l in record.result.source:
Note: See TracChangeset
for help on using the changeset viewer.