Change the OP page indicator.

This commit is contained in:
Mayhem 2013-11-16 20:19:17 +01:00
parent 1b8e55f0b4
commit b2b4197249
3 changed files with 3 additions and 10 deletions

View File

@ -11,7 +11,7 @@
- The page number on which threads are will now be displayed in OPs, to easily identify where threads are located when:
<ul>
<li> searching through the index.
<li> using different index sorting types.
<li> using different index modes and sorting types.
<li> threads highlighted by the filter are moved to the top and move other threads down.
<ul>
- The elapsed time since the last index refresh is now indicated at the top of the index.

View File

@ -391,12 +391,6 @@ a[href="javascript:;"] {
#index-search:not([data-searching]) + #index-search-clear {
display: none;
}
.page-num {
font-family: inherit;
}
.page-num::before {
font-family: FontAwesome;
}
.summary {
text-decoration: none;
}

View File

@ -192,7 +192,7 @@ Build =
if isOP and g.VIEW is 'index'
pageNum = Math.floor Index.liveThreadIDs.indexOf(postID) / Index.threadsNumPerPage
pageIcon = "<i class='page-num fa fa-file-o' title='This thread is on page #{pageNum} in the original index.'> #{pageNum}</i> "
pageIcon = " <span class=page-num title='This thread is on page #{pageNum} in the original index.'>Page #{pageNum}</span>"
replyLink = " &nbsp; <span>[<a href='/#{boardID}/res/#{threadID}' class=replylink>Reply</a>]</span>"
else
pageIcon = replyLink = ''
@ -228,7 +228,6 @@ Build =
(if isOP then fileHTML else '') +
"<div class='postInfo desktop' id=pi#{postID}>" +
pageIcon +
"<input type=checkbox name=#{postID} value=delete> " +
"#{subject} " +
"<span class='nameBlock#{capcodeClass}'>" +
@ -245,7 +244,7 @@ Build =
else
"/#{boardID}/res/#{threadID}#q#{postID}"
}' title='Quote this post'>#{postID}</a>" +
sticky + closed + replyLink +
pageIcon + sticky + closed + replyLink +
'</span>' +
'</div>' +