|
@@ -89,6 +89,11 @@ pod :: document ${current_node.getTruncatedLabel(40)} [#${current_node.node_id}
|
89
|
89
|
</div>
|
90
|
90
|
</div>
|
91
|
91
|
<div id='application-main-panel' class="span9">
|
|
92
|
+ % if current_node.parent_id!=None and current_node.parent_id!=0:
|
|
93
|
+ <div class="btn-group">
|
|
94
|
+ <a class="btn " href="${tg.url('/document/%i'%current_node.parent_id)}" title="${_("Go to parent document")}"><i class="fa fa-hand-o-left"></i></a>
|
|
95
|
+ </div>
|
|
96
|
+ % endif
|
92
|
97
|
<div class="btn-group">
|
93
|
98
|
<button class="btn">Status</button>
|
94
|
99
|
<a class="btn ${current_node.getStatus().css}" href="#"><i class="${current_node.getStatus().icon}"></i> ${current_node.getStatus().getLabel()}</a>
|
|
@@ -141,7 +146,7 @@ pod :: document ${current_node.getTruncatedLabel(40)} [#${current_node.node_id}
|
141
|
146
|
<li class="active"><a href="#events" data-toggle="tab" title="History"><i class="pod-dark-grey fa fa-calendar"></i>${POD.ItemNb(current_node.getEvents())}</a></li>
|
142
|
147
|
<li><a href="#contacts" data-toggle="tab" title="Contacts"><i class="pod-dark-grey fa fa-user"></i>${POD.ItemNb(current_node.getContacts())}</a></li>
|
143
|
148
|
<li><a href="#comments" data-toggle="tab" title="Comments"><i class="pod-dark-grey fa fa-comments-o"></i>${POD.ItemNb(current_node.getComments())}</a></li>
|
144
|
|
- <li><a href="#files" data-toggle="tab" title="Files"><i class="pod-dark-grey fa fa-files-o"></i>${POD.ItemNb(current_node.getFiles())}</a></li>
|
|
149
|
+ <li><a href="#files" data-toggle="tab" title="Files"><i class="pod-dark-grey fa fa-file-text-o"></i>${POD.ItemNb(current_node.getFiles())}</a></li>
|
145
|
150
|
</ul>
|
146
|
151
|
<div class="tab-content">
|
147
|
152
|
################################
|
|
@@ -270,7 +275,12 @@ pod :: document ${current_node.getTruncatedLabel(40)} [#${current_node.node_id}
|
270
|
275
|
<!-- LIST OF CONTACT NODES -->
|
271
|
276
|
% for contact in current_node.getContacts():
|
272
|
277
|
<div class="well">
|
273
|
|
- <legend class="text-info">${contact.data_label}</legend>
|
|
278
|
+ <legend class="text-info">
|
|
279
|
+ ${contact.data_label}
|
|
280
|
+ ## TODO - 2013-11-20 - Use the right form in order to update meta-data
|
|
281
|
+ <a class="pull-right" href="${tg.url('/document/%i'%contact.node_id)}"><i class="fa fa-edit"></i></a>
|
|
282
|
+ </legend>
|
|
283
|
+
|
274
|
284
|
<div>
|
275
|
285
|
## FIXME - D.A. - 2013-11-15 - Implement localisation stuff <a style='float: right;' href="" title='${_('Search on google maps')}'><i class='icon-g-google-maps'></i></a>
|
276
|
286
|
${contact.data_content|n}
|
|
@@ -315,7 +325,10 @@ pod :: document ${current_node.getTruncatedLabel(40)} [#${current_node.node_id}
|
315
|
325
|
<tr title="Last updated: ${comment.updated_at}">
|
316
|
326
|
<td>
|
317
|
327
|
<i>The ${comment.getFormattedDate(comment.updated_at)} at ${comment.getFormattedTime(comment.updated_at)}: </i><br/>
|
318
|
|
- <b>${comment.data_label}</b><br/>
|
|
328
|
+ <b>${comment.data_label}</b>
|
|
329
|
+ ## TODO - 2013-11-20 - Use the right form in order to update meta-data
|
|
330
|
+ <a class="pull-right" href="${tg.url('/document/%i'%comment.node_id)}"><i class="fa fa-edit"></i></a>
|
|
331
|
+ <br/>
|
319
|
332
|
<p>
|
320
|
333
|
${comment.data_content|n}
|
321
|
334
|
</p>
|
|
@@ -362,12 +375,19 @@ pod :: document ${current_node.getTruncatedLabel(40)} [#${current_node.node_id}
|
362
|
375
|
% for current_file in current_node.getFiles():
|
363
|
376
|
<tr title="Last updated: ${current_file.updated_at}">
|
364
|
377
|
<td>
|
365
|
|
- <a href="${tg.url('/api/get_file_content/%s'%(current_file.node_id))}" title="${_("Download file")}"><i class="icon-g-attach"></i></a>
|
|
378
|
+ <a href="${tg.url('/api/get_file_content/%s'%(current_file.node_id))}" title="${_("Download file")}">
|
|
379
|
+ <i class="fa fa-2x fa-file-text-o"></i>
|
|
380
|
+ </a>
|
366
|
381
|
## FIXME - SHOW THUMBNAIL WHEN IT WILL BE OK<img src="${tg.url('/api/get_file_content_thumbnail/%s'%(current_file.node_id))}" class="img-polaroid">
|
367
|
382
|
</td>
|
368
|
383
|
<td>
|
369
|
|
- <b>${current_file.data_label}</b><br/>
|
370
|
|
- <i>commented by comment.author the ${current_file.getFormattedDate(current_file.updated_at)} at ${current_file.getFormattedTime(current_file.updated_at)}</i></br>
|
|
384
|
+ <b>${current_file.data_label}</b>
|
|
385
|
+ <a class="pull-right" href="${tg.url('/api/get_file_content/%s'%(current_file.node_id))}" title="${_("Download file")}">
|
|
386
|
+ <i class="fa fa-download"></i>
|
|
387
|
+ </a>
|
|
388
|
+ <a class="pull-right" href="${tg.url('/document/%i'%current_file.node_id)}" title="${_("Edit title or comment")}"><i class="fa fa-edit"></i></a>
|
|
389
|
+
|
|
390
|
+ <br/>
|
371
|
391
|
<p>
|
372
|
392
|
${current_file.data_content|n}
|
373
|
393
|
</p>
|