Skip to content

Commit 2c9fd28

Browse files
fopinavalentijnscholten
authored andcommitted
show social provider label in groups (DefectDojo#14457)
1 parent 835b7e9 commit 2c9fd28

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dojo/templates/dojo/groups.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h3 class="has-filters">
8383
</li>
8484
</ul>
8585
</td>
86-
<td><a href="{% url 'view_group' g.id %}">{{ g.name }}</a></td>
86+
<td><a href="{% url 'view_group' g.id %}">{{ g.name }}</a>{% if g.social_provider %} <div class="tag-label tag-color">{{ g.social_provider }}</div>{% endif %}</td>
8787
<td>{{ g.description }}</td>
8888
<td>{{ g.users.all|length }}</td>
8989
<td>{% if g.global_role.role %} {{ g.global_role.role }} {% endif %}</td>

dojo/templates/dojo/view_group.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% load authorization_tags %}
44

55
{% block content %}
6-
<h3 id="id_heading"> Group: {{ group.name }}</h3>
6+
<h3 id="id_heading"> Group: {{ group.name }}{% if group.social_provider %} <div class="tag-label tag-color">{{ group.social_provider }}</div>{% endif %}</h3>
77
<div class="row">
88
<div id="tests" class="col-md-8">
99
<div class="panel panel-default">

0 commit comments

Comments
 (0)