mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
[ticket/11150] Display extension status in "gallery"
PHPBB3-11150
This commit is contained in:
committed by
Tristan Darricau
parent
a32d429f1e
commit
51916def9c
@@ -45,7 +45,16 @@
|
||||
<tr>
|
||||
<td>
|
||||
<strong>{{ extension.name }}</strong><br />
|
||||
<span><a href="{{ extension.url }}">{{ lang('DETAILS') }}</a> • <a href="{{ U_ACTION }}&action=install&extension={{ extension.composer_name|url_encode }}">{{ lang('INSTALL') }}</a></span>
|
||||
<span>
|
||||
<a href="{{ extension.url }}">{{ lang('DETAILS') }}</a> •
|
||||
{% if extension.name in managed_extensions %}
|
||||
<span style="color: #228822;">{{ lang('INSTALLED') }}</span>
|
||||
{% elseif extension.name in installed_extensions -%}
|
||||
<span style="color: #BC2A4D;">{{ lang('INSTALLED_MANUALLY') }}</span> (<a href="{{ U_ACTION }}&action=manage&extension={{ extension.composer_name|url_encode }}">{{ lang('MANAGE') }}</a>)
|
||||
{% else -%}
|
||||
<a href="{{ U_ACTION }}&action=install&extension={{ extension.composer_name|url_encode }}">{{ lang('INSTALL') }}</a>
|
||||
{%- endif -%}
|
||||
</span>
|
||||
</td>
|
||||
<td>{{ extension.version }}</td>
|
||||
<td>{{ extension.description }}</td>
|
||||
|
Reference in New Issue
Block a user