mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
issue #1415 change the warning icon for official incompatibility
This commit is contained in:
@@ -87,13 +87,7 @@ jQuery(document).ready(function() {
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
for (i=0;i<data.length;i++) {
|
||||
{/literal}
|
||||
{if $show_details}
|
||||
jQuery('#'+data[i]+' .pluginBoxNameCell').prepend('<a class="warning" title="'+incompatible_msg+'"></a>')
|
||||
{else}
|
||||
jQuery('#'+data[i]+' .pluginMiniBoxNameCell').prepend('<span class="warning" title="'+incompatible_msg+'"></span>')
|
||||
{/if}
|
||||
{literal}
|
||||
jQuery('#'+data[i]+' .pluginMiniBoxNameCell').prepend('<i class="icon-attention" title="'+incompatible_msg+'"></i> ');
|
||||
jQuery('#'+data[i]).addClass('incompatible');
|
||||
jQuery('#'+data[i]+' .activate').each(function () {
|
||||
$(this).pwg_jconfirm_follow_href({
|
||||
@@ -714,4 +708,8 @@ jQuery(".pluginMiniBox").each(function(index){
|
||||
margin-left: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.pluginMiniBox.incompatible .pluginMiniBoxNameCell i {
|
||||
color:#c64444;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user