From: Art Cancro Date: Mon, 7 Jan 2019 23:49:25 +0000 (-0500) Subject: Links for older and newer blocks of messages in the BBS view have been centered,... X-Git-Tag: v939~315 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=439dbc67ce2cb6923a35efbd4c172ea3f5f83bf4 Links for older and newer blocks of messages in the BBS view have been centered, changed to _("Older posts") and _("Newer posts") (which were both in the .po file already) and centered. Also I added some adorable little FA arrow icons to them. SQUEEEEEEEE! --- diff --git a/webcit-ng/static/js/views.js b/webcit-ng/static/js/views.js index eae090ccc..35fdbef5b 100644 --- a/webcit-ng/static/js/views.js +++ b/webcit-ng/static/js/views.js @@ -89,9 +89,11 @@ function forum_readmessages(target_div, gt_msg, lt_msg) newlt = msgs[0]; } document.getElementById(target_div).innerHTML += - "
" + + "
" + + "
" + "" + - "link to msgs less than " + newlt + "
" ; + "  " + + _("Older posts") + "  
" ; } // Render the divs (we will fill them in later) @@ -110,9 +112,11 @@ function forum_readmessages(target_div, gt_msg, lt_msg) newgt = msgs[msgs.length-1]; } document.getElementById(target_div).innerHTML += - "" ; + "" ; } // Now figure out where to scroll to after rendering.