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
.ext-review-list-activity
display: flex
+padding(0, x)
width: 1%
.rating-form
select

View File

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

View File

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

View File

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