mirror of
https://github.com/friendica/friendica
synced 2024-11-10 18:01:42 +01:00
Issue 8605: "show less" now displays "show less"
This commit is contained in:
parent
5b19469a4c
commit
d4d55a5865
|
@ -147,6 +147,7 @@ class ForumManager
|
|||
'$link_desc' => DI::l10n()->t('External link to forum'),
|
||||
'$total' => $total,
|
||||
'$visible_forums' => $visible_forums,
|
||||
'$showless' => DI::l10n()->t('show less'),
|
||||
'$showmore' => DI::l10n()->t('show more')]
|
||||
);
|
||||
}
|
||||
|
|
13487
view/lang/C/messages.po
13487
view/lang/C/messages.po
File diff suppressed because it is too large
Load diff
|
@ -2,12 +2,12 @@
|
|||
function showHideForumlist() {
|
||||
if( $("li[id^='forum-widget-entry-extended-']").is(':visible')) {
|
||||
$("li[id^='forum-widget-entry-extended-']").hide();
|
||||
$("li#forum-widget-collapse").html(window.showMore);
|
||||
$("li#forum-widget-collapse").html('{{$showmore}}');
|
||||
|
||||
}
|
||||
else {
|
||||
$("li[id^='forum-widget-entry-extended-']").show();
|
||||
$("li#forum-widget-collapse").html(window.showFewer);
|
||||
$("li#forum-widget-collapse").html('{{$showless}}');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
function showHideForumlist() {
|
||||
if( $("li[id^='forum-widget-entry-extended-']").is(':visible')) {
|
||||
$("li[id^='forum-widget-entry-extended-']").hide();
|
||||
$("li#forum-widget-collapse").html(window.showMore);
|
||||
$("li#forum-widget-collapse").html('{{$showmore}}');
|
||||
|
||||
}
|
||||
else {
|
||||
$("li[id^='forum-widget-entry-extended-']").show();
|
||||
$("li#forum-widget-collapse").html(window.showFewer);
|
||||
$("li#forum-widget-collapse").html('{{$showless}}');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -3,14 +3,15 @@
|
|||
function showHideForumlist() {
|
||||
if( $("li[id^='forum-widget-entry-extended-']").is(':visible')) {
|
||||
$("li[id^='forum-widget-entry-extended-']").hide();
|
||||
$("li#forum-widget-collapse").html(window.showMore);
|
||||
$("li#forum-widget-collapse").html('{{$showmore}}');
|
||||
|
||||
}
|
||||
else {
|
||||
$("li[id^='forum-widget-entry-extended-']").show();
|
||||
$("li#forum-widget-collapse").html(window.showFewer);
|
||||
$("li#forum-widget-collapse").html('{{$showless}}');
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div id="forumlist-sidebar-right" class="widget">
|
||||
|
|
Loading…
Reference in a new issue