Skip to content

Commit

Permalink
#539 -- File submission flags
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonmoura committed Oct 18, 2021
1 parent 2729a12 commit 6b3eaa0
Showing 1 changed file with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,21 @@

<tbody>
{% for item in items %}
<tr>
<td>{{ item.name }}</td>
<td>
{% if item.status %}
<span class='label label-success'>{% trans %}active{% endtrans %}</span>
{% else %}
<span class='label label-default'>{% trans %}inactive{% endtrans %}</span>
{% endif %}
</td>
<td>
<a href="{{ path("crud_admin_controlled_list_upload_type_update", {item_id: item.id}) }}" data-toggle="modal" data-target="#modal-ajax-item" class="btn btn-default btn-xs"><i class="glyphicon glyphicon-pencil"></i></a>
</td>
</tr>
{% if item.slug not in ['protocol', 'opinion'] %}
<tr>
<td>{{ item.name }}</td>
<td>
{% if item.status %}
<span class='label label-success'>{% trans %}active{% endtrans %}</span>
{% else %}
<span class='label label-default'>{% trans %}inactive{% endtrans %}</span>
{% endif %}
</td>
<td>
<a href="{{ path("crud_admin_controlled_list_upload_type_update", {item_id: item.id}) }}" data-toggle="modal" data-target="#modal-ajax-item" class="btn btn-default btn-xs"><i class="glyphicon glyphicon-pencil"></i></a>
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
Expand Down

0 comments on commit 6b3eaa0

Please sign in to comment.