Commit 71739ce2 authored by Mathieu Giraud's avatar Mathieu Giraud

views/: icon-key, icon-pencil-2, icon-erase, again

parent 558238ce
......@@ -58,10 +58,10 @@
{{=row.expiration}}
</td>
<td class="pointer" onclick="db.call('notification/edit', {'id' : '{{=row.id}}'})">
e
<i class="icon-pencil-2" title="edit notification"></i>
</td>
<td class="pointer" onclick="db.call('notification/delete', {'id' : '{{=row.id}}'})">
X
<i class="icon-erase" title="delete notification"></i>
</td>
{{pass}}
</tr>
......
......@@ -69,10 +69,10 @@
<td> {{=row['file_count']}} ({{=vidjil_utils.format_size(row['size'])}}) </td>
{{ total_file_count += row['file_count'] ; total_size += row['size'] }}
{{if isAdmin:}} <td onclick="db.call('run/permission', {'id' :'{{=row['id']}}'} )" > p </td> {{else:}} <td></td> {{pass}}
{{if isAdmin:}} <td onclick="db.call('run/permission', {'id' :'{{=row['id']}}'} )" > <i class="icon-key" title="set permissions"></i> </td> {{else:}} <td></td> {{pass}}
{{if row['has_admin_permission']:}}
<td onclick="db.call('run/edit', {'id' :'{{=row['id']}}'} )" > e </td>
<td onclick="db.call('run/confirm', {'id' :'{{=row['id']}}'} )" > X </td>
<td onclick="db.call('run/edit', {'id' :'{{=row['id']}}'} )" > <i class="icon-pencil-2" title="edit run information"></i> </td>
<td onclick="db.call('run/confirm', {'id' :'{{=row['id']}}'} )" > <i class="icon-erase" title="delete run"></i> </td>
{{else:}} <td></td><td></td>{{pass}}
</tr>
{{pass}}
......
......@@ -108,7 +108,7 @@
{{pass}}
</td>
{{if can_modify and auth.can_process_file():}}
<td class="pointer" onclick="db.call('results_file/confirm', {'results_file_id' :'{{=row.results_file.id}}'})" > X </td>
<td class="pointer" onclick="db.call('results_file/confirm', {'results_file_id' :'{{=row.results_file.id}}'})" > <i class="icon-erase" title="delete process"></i> </td>
{{else:}}
<td></td>
{{pass}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment