|
@@ -55,11 +55,11 @@
|
55
|
55
|
</%def>
|
56
|
56
|
|
57
|
57
|
<%def name="CONTENT(content)">
|
58
|
|
- <tr class="t-table-row-${content.type.type} folder__content__list__item ${'archived' if content.is_archived else ''} ${'deleted' if content.is_deleted else ''}"
|
59
|
|
- onclick="document.location = '${content.url}'"> <!-- <a /> does not work on <tr /> -->
|
60
|
|
-
|
|
58
|
+ <tr class="t-table-row-${content.type.type} folder__content__list__item ${'archived' if content.is_archived else ''} ${'deleted' if content.is_deleted else ''}">
|
61
|
59
|
<td class="folder__content__list__item__title">
|
62
|
|
- <i class="fa-fw ${content.type.icon} ${content.type.color}"></i> ${content.label}
|
|
60
|
+ <a href="${content.url}">
|
|
61
|
+ <i class="fa-fw ${content.type.icon} ${content.type.color}"></i> ${content.label}
|
|
62
|
+ </a>
|
63
|
63
|
</td>
|
64
|
64
|
|
65
|
65
|
<!--td class="folder__content__list__type">
|
|
@@ -79,32 +79,33 @@
|
79
|
79
|
<td class="text-center t-less-visible">-</td>
|
80
|
80
|
% else:
|
81
|
81
|
<td>
|
82
|
|
- % if 'open' == content.status.id:
|
83
|
|
- <i class="fa fa-fw fa-square-o"></i>
|
84
|
|
- % elif 'closed-validated' == content.status.id:
|
85
|
|
- <i class="fa fa-fw fa-check-square-o"></i>
|
86
|
|
- % elif 'closed-unvalidated' == content.status.id:
|
87
|
|
- <i class="fa fa-fw fa-check-square-o"></i>
|
88
|
|
- % elif 'closed-deprecated' == content.status.id:
|
89
|
|
- <i class="fa fa-fw fa-bell-slash-o"></i>
|
90
|
|
- % else:
|
91
|
|
- <i class="fa fa-fw fa-close"></i>
|
92
|
|
- % endif
|
93
|
|
-
|
94
|
|
- <span class="t-less-visible">
|
95
|
|
- ${content.status.label}
|
96
|
|
- % if (content.is_archived) :
|
97
|
|
- - Archivé
|
98
|
|
- % elif (content.is_deleted) :
|
99
|
|
- - Supprimé
|
100
|
|
- % endif
|
101
|
|
- </span>
|
102
|
|
-
|
|
82
|
+ <a href="${content.url}">
|
|
83
|
+ % if 'open' == content.status.id:
|
|
84
|
+ <i class="fa fa-fw fa-square-o"></i>
|
|
85
|
+ % elif 'closed-validated' == content.status.id:
|
|
86
|
+ <i class="fa fa-fw fa-check-square-o"></i>
|
|
87
|
+ % elif 'closed-unvalidated' == content.status.id:
|
|
88
|
+ <i class="fa fa-fw fa-check-square-o"></i>
|
|
89
|
+ % elif 'closed-deprecated' == content.status.id:
|
|
90
|
+ <i class="fa fa-fw fa-bell-slash-o"></i>
|
|
91
|
+ % else:
|
|
92
|
+ <i class="fa fa-fw fa-close"></i>
|
|
93
|
+ % endif
|
|
94
|
+
|
|
95
|
+ <span class="t-less-visible">
|
|
96
|
+ ${content.status.label}
|
|
97
|
+ % if (content.is_archived) :
|
|
98
|
+ - Archivé
|
|
99
|
+ % elif (content.is_deleted) :
|
|
100
|
+ - Supprimé
|
|
101
|
+ % endif
|
|
102
|
+ </span>
|
|
103
|
+ </a>
|
103
|
104
|
</td>
|
104
|
105
|
% endif
|
105
|
106
|
|
106
|
|
- <td><span class="t-less-visible">${content.notes|n}</span></td>
|
|
107
|
+ <td><a href="${content.url}"><span class="t-less-visible">${content.notes|n}</span></a></td>
|
107
|
108
|
|
108
|
|
- <td>${content.type.label}</td>
|
|
109
|
+ <td><a href="${content.url}">${content.type.label}</a></td>
|
109
|
110
|
</tr>
|
110
|
111
|
</%def>
|