Implement Web Assets' theme system and selection, and add 'light' theme #118
@ -25,4 +25,5 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% trans 'and newer' %}
|
{% trans 'and newer' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<a href="{{ version.extension.get_review_url }}?report_compatibility_issue&version={{ version.version }}#id_message" title="{% trans 'Report compatibility issue' %}"><i class="i-flag"></i></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<section class="ext-detail-info box-outline mb-3">
|
<section class="ext-detail-info box-outline mb-3">
|
||||||
<div class="dl-row">
|
<div class="dl-row">
|
||||||
<div class="dl-col">
|
<div class="dl-col">
|
||||||
<dt>Compatibility</dt>
|
<dt>{% trans 'Compatibility' %}</dt>
|
||||||
<dd>{% include "extensions/components/blender_version.html" with version=version %}</dd>
|
<dd>{% include "extensions/components/blender_version.html" with version=version %}</dd>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -82,7 +82,15 @@ class ExtensionsApprovalDetailView(DetailView):
|
|||||||
ctx['status_change_types'] = STATUS_CHANGE_TYPES
|
ctx['status_change_types'] = STATUS_CHANGE_TYPES
|
||||||
|
|
||||||
if self.request.user.is_authenticated:
|
if self.request.user.is_authenticated:
|
||||||
form = ctx['comment_form'] = CommentForm()
|
initial = {}
|
||||||
|
if 'report_compatibility_issue' in self.request.GET:
|
||||||
|
version = self.request.GET.get('version')
|
||||||
|
initial['message'] = (
|
||||||
|
f'Compatibility range for version {version} is outdated\n'
|
||||||
|
'Platform: ...\n'
|
||||||
|
'Version of Blender where the add-on is **no longer** working: ?????'
|
||||||
|
)
|
||||||
|
form = ctx['comment_form'] = CommentForm(initial=initial)
|
||||||
# anyone can comment
|
# anyone can comment
|
||||||
filtered_activity_types = {ApprovalActivity.ActivityType.COMMENT}
|
filtered_activity_types = {ApprovalActivity.ActivityType.COMMENT}
|
||||||
user = self.request.user
|
user = self.request.user
|
||||||
|
Loading…
Reference in New Issue
Block a user