mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1465 added memories case
This commit is contained in:
committed by
plegall
parent
6fcedc19a3
commit
2d69825b04
@@ -127,6 +127,7 @@ function fillSummaryResult(summary) {
|
||||
$(".user-dot").attr("title", user_dot_title).addClass("tiptip");
|
||||
|
||||
var tmp = 0;
|
||||
$(".user-dot").hide();
|
||||
//sorted
|
||||
for (const [key, value] of Object.entries(summary.SORTED_MEMBERS)) {
|
||||
if (tmp < 5) {
|
||||
@@ -144,7 +145,6 @@ function fillSummaryResult(summary) {
|
||||
}
|
||||
})
|
||||
$(".user-list").append(new_user_item);
|
||||
$(".user-dot").hide();
|
||||
tmp++;
|
||||
} else {
|
||||
$(".user-dot").show();
|
||||
@@ -210,7 +210,7 @@ function lineConstructor(line, id, imageDisplay) {
|
||||
"line-icon icon-folder-open icon-yellow",
|
||||
"line-icon icon-tags icon-blue",
|
||||
"line-icon icon-star icon-green",
|
||||
"line-icon icon-wrench",
|
||||
"line-icon icon-clock icon-yellow",
|
||||
"line-icon icon-dice-solid icon-purple",
|
||||
"line-icon icon-search icon-purple",
|
||||
"line-icon icon-fire icon-red",
|
||||
@@ -315,6 +315,10 @@ function lineConstructor(line, id, imageDisplay) {
|
||||
newLine.find(".type-id").remove();
|
||||
}
|
||||
break;
|
||||
case "memories-1-year-ago":
|
||||
newLine.find(".type-name").html(str_memories);
|
||||
newLine.find(".type-id").remove();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ const str_list = "{'Random photo'|translate}";
|
||||
const str_favorites = "{'Your favorites'|translate}";
|
||||
const str_recent_cats = "{'Recent albums'|translate}";
|
||||
const str_recent_pics = "{'Recent photos'|translate}";
|
||||
const str_memories = "{'Memories'|translate}";
|
||||
const unit_MB = "{"%s MB"|@translate}";
|
||||
{/footer_script}
|
||||
|
||||
@@ -674,4 +675,8 @@ jQuery(document).ready( function() {
|
||||
margin: 0 15px 0 0;
|
||||
}
|
||||
|
||||
.user-list {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -1263,4 +1263,5 @@ $lang['Tag name'] = 'Tag name';
|
||||
$lang['Visited'] = 'Visited';
|
||||
$lang['Downloaded'] = 'Downloaded';
|
||||
$lang['Personnalized filters'] = 'Personnalized filters';
|
||||
$lang['Object'] = 'Object';
|
||||
$lang['Object'] = 'Object';
|
||||
$lang['Memories'] = 'Souvenirs';
|
||||
|
||||
@@ -1265,4 +1265,5 @@ $lang['Tag name'] = 'Nom du tag';
|
||||
$lang['Visited'] = 'Visité';
|
||||
$lang['Downloaded'] = 'Téléchargé';
|
||||
$lang['Personnalized filters'] = 'Filtres personnalisés';
|
||||
$lang['Object'] = 'Objet';
|
||||
$lang['Object'] = 'Objet';
|
||||
$lang['Memories'] = 'Souvenirs';
|
||||
|
||||
Reference in New Issue
Block a user