Make site prefix optional, behind 'Show Site Prefix' preference in thread watcher menu.
This commit is contained in:
parent
aa67e1b58b
commit
e0ae7daaac
@ -308,7 +308,7 @@ ThreadWatcher =
|
||||
|
||||
{excerpt} = data
|
||||
excerpt or= "/#{boardID}/ - No.#{threadID}"
|
||||
excerpt = ThreadWatcher.prefixes[siteID] + excerpt
|
||||
excerpt = ThreadWatcher.prefixes[siteID] + excerpt if Conf['Show Site Prefix']
|
||||
|
||||
link = $.el 'a',
|
||||
href: SW[software]?.urls.thread({siteID, boardID, threadID}) or ''
|
||||
@ -528,6 +528,6 @@ ThreadWatcher =
|
||||
$.addClass entry.el, 'disabled'
|
||||
entry.el.title += '\n[Remember Last Read Post is disabled.]'
|
||||
$.on input, 'change', $.cb.checked
|
||||
$.on input, 'change', ThreadWatcher.refresh if name in ['Current Board', 'Show Unread Count']
|
||||
$.on input, 'change', ThreadWatcher.refresh if name in ['Current Board', 'Show Unread Count', 'Show Site Prefix']
|
||||
$.on input, 'change', ThreadWatcher.fetchAuto if name in ['Show Unread Count', 'Auto Update Thread Watcher']
|
||||
entry
|
||||
|
||||
@ -676,6 +676,10 @@ Config =
|
||||
true
|
||||
'Show number of unread posts in watched threads.'
|
||||
]
|
||||
'Show Site Prefix': [
|
||||
true
|
||||
'When multiple sites are shown in the thread watcher, add a prefix to board names to distinguish them.'
|
||||
]
|
||||
'Require OP Quote Link': [
|
||||
false
|
||||
'For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP.'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user