Skip to content
Extraits de code Groupes Projets
Valider fdbcce15 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

fixes #8863 - open plugin popover for all plugin detail links

parent 40afd5b4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -13,7 +13,7 @@ $(document).ready(function () { ...@@ -13,7 +13,7 @@ $(document).ready(function () {
watch: 'window' watch: 'window'
}); });
$('.marketplace').on('click', '.plugin-details', function (event) { $('a.plugin-details[data-pluginName]').on('click', function (event) {
event.preventDefault(); event.preventDefault();
var pluginName = $(this).attr('data-pluginName'); var pluginName = $(this).attr('data-pluginName');
......
...@@ -15,13 +15,13 @@ ...@@ -15,13 +15,13 @@
{% for name,plugin in pluginsHavingUpdate %} {% for name,plugin in pluginsHavingUpdate %}
<tr {% if plugin.isActivated|default(false) %}class="active-plugin"{% else %}class="inactive-plugin"{% endif %}> <tr {% if plugin.isActivated|default(false) %}class="active-plugin"{% else %}class="inactive-plugin"{% endif %}>
<td class="name"> <td class="name">
<a href="javascript:void(0);" data-pluginName="{{ plugin.name|e('html_attr') }}"> <a href="javascript:void(0);" data-pluginName="{{ plugin.name|e('html_attr') }}" class="plugin-details">
{{ plugin.name }} {{ plugin.name }}
</a> </a>
</td> </td>
<td class="vers"> <td class="vers">
{% if plugin.repositoryChangelogUrl %} {% if plugin.repositoryChangelogUrl %}
<a href="javascript:void(0);" title="{{ 'CorePluginsAdmin_Changelog'|translate }}" data-activePluginTab="changelog" data-pluginName="{{ plugin.name|e('html_attr') }}">{{ plugin.currentVersion }} => {{ plugin.latestVersion }}</a> <a href="javascript:void(0);" title="{{ 'CorePluginsAdmin_Changelog'|translate }}" class="plugin-details" data-activePluginTab="changelog" data-pluginName="{{ plugin.name|e('html_attr') }}">{{ plugin.currentVersion }} => {{ plugin.latestVersion }}</a>
{% else %} {% else %}
{{ plugin.currentVersion }} => {{ plugin.latestVersion }} {{ plugin.currentVersion }} => {{ plugin.latestVersion }}
{% endif %} {% endif %}
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
<td class="name" style="white-space:nowrap;"> <td class="name" style="white-space:nowrap;">
<a name="{{ name|e('html_attr') }}"></a> <a name="{{ name|e('html_attr') }}"></a>
{% if not plugin.isCorePlugin and name in marketplacePluginNames -%} {% if not plugin.isCorePlugin and name in marketplacePluginNames -%}
<a href="javascript:void(0);" <a href="javascript:void(0);" class="plugin-details"
data-pluginName="{{ name|e('html_attr') }}" data-pluginName="{{ name|e('html_attr') }}"
>{{ name }}</a> >{{ name }}</a>
{%- else %} {%- else %}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter