Intitial teams support #147

Merged
Oleg-Komarov merged 34 commits from teams-support into main 2024-05-23 19:43:54 +02:00
4 changed files with 11 additions and 8 deletions
Showing only changes of commit 046234403f - Show all commits

View File

@ -332,8 +332,7 @@
white-space: nowrap white-space: nowrap
.ext-review-list-activity .ext-review-list-activity
display: flex width: 1%
+padding(0, x)
.rating-form .rating-form
select select

View File

@ -19,5 +19,6 @@ class CannedResponseAdmin(admin.ModelAdmin):
class ReviewActivityAdmin(admin.ModelAdmin): class ReviewActivityAdmin(admin.ModelAdmin):
list_display = ( list_display = (
'__str__', '__str__',
'user',
'date_created', 'date_created',
) )

View File

@ -8,15 +8,17 @@
</td> </td>
<td>{% include "extensions/components/authors.html" %}</td> <td>{% include "extensions/components/authors.html" %}</td>
<td title="{{ extension.date_created }}">{{ extension.date_created|naturaltime_compact }}</td> <td title="{{ extension.date_created }}">{{ extension.date_created|naturaltime_compact }}</td>
<td class="d-flex"> <td class="ext-review-list-activity" colspan="2">
<a href="{{ extension.get_review_url }}#activity"> <a href="{{ extension.get_review_url }}#activity-{{ stats.last_activity.id }}">
<span>{{ stats.count }}</span>
</a>
<a href="{{ extension.get_review_url }}#activity-{{ stats.last_activity.id }}" class="ms-3">
<span>{{ stats.last_activity.date_created|naturaltime_compact }}</span> <span>{{ stats.last_activity.date_created|naturaltime_compact }}</span>
</a> </a>
{% include "files/components/scan_details_flag.html" with suspicious_files=extension.suspicious_files %} {% include "files/components/scan_details_flag.html" with suspicious_files=extension.suspicious_files %}
</td> </td>
<td class="ext-review-list-activity ps-0 text-center">
<a href="{{ extension.get_review_url }}#activity">
<span class="badge">{{ stats.count }}</span>
</a>
</td>
<td> <td>
<a href="{{ extension.get_review_url }}" class="text-decoration-none"> <a href="{{ extension.get_review_url }}" class="text-decoration-none">
{% with last_type=stats.last_type_display|default:"Awaiting Review" %} {% with last_type=stats.last_type_display|default:"Awaiting Review" %}

View File

@ -29,7 +29,8 @@
<th>{% trans "Name" %}</th> <th>{% trans "Name" %}</th>
<th>{% trans "Author" %}</th> <th>{% trans "Author" %}</th>
<th>{% trans "Submitted" %}</th> <th>{% trans "Submitted" %}</th>
<th>{% trans "Activity" %}</th> <th colspan="2">{% trans "Activity" %}</th>
<th></th>
<th>{% trans "Status" %}</th> <th>{% trans "Status" %}</th>
</tr> </tr>
</thead> </thead>