Skip to content

Commit

Permalink
remove btn-group on device detail template
Browse files Browse the repository at this point in the history
  • Loading branch information
silvioheinze committed Jan 27, 2025
1 parent 0443cd6 commit 31be85c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions app/templates/devices/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@ <h2>{% trans "Devices" %}</h2>
</td>
<td>{{ device.current_organization.name|default:_("N/A") }}</td>
<td class="text-end">
<div class="btn-group" role="group" aria-label="{% trans 'Actions' %}">
<a href="{% url 'device-detail' device.pk %}" class="btn btn-primary btn-sm" title="{% trans 'View Details' %}">
<i class="bi bi-eye"></i> <span class="d-none d-sm-inline">{% trans "Detail" %}</span>
</a>
<a href="{% url 'device-edit' device.pk %}" class="btn btn-secondary btn-sm" title="{% trans 'Edit Device' %}">
<i class="bi bi-pencil-square"></i> <span class="d-none d-sm-inline">{% trans "Edit" %}</span>
</a>
</div>
<a href="{% url 'device-detail' device.pk %}" class="btn btn-primary btn-sm" title="{% trans 'View Details' %}">
<i class="bi bi-eye"></i> <span class="d-none d-sm-inline">{% trans "Detail" %}</span>
</a>
<a href="{% url 'device-edit' device.pk %}" class="btn btn-secondary btn-sm" title="{% trans 'Edit Device' %}">
<i class="bi bi-pencil-square"></i> <span class="d-none d-sm-inline">{% trans "Edit" %}</span>
</a>
</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 31be85c

Please sign in to comment.