mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Add title attribute to categorize bubble '>' multi links.
This commit is contained in:
@@ -216,6 +216,7 @@ Note: there are a couple of places outside of your subreddit where someone can c
|
||||
create_multi = _('create a new multi'),
|
||||
awesomeness_goes_here = _('awesomeness goes here'),
|
||||
add_multi_sr = _('add a subreddit to your multi.'),
|
||||
open_multi = _('open this multi'),
|
||||
)
|
||||
|
||||
class StringHandler(object):
|
||||
|
||||
@@ -378,7 +378,7 @@ r.multi.SubscribeButton = Backbone.View.extend({
|
||||
r.multi.MultiSubscribeBubble = r.ui.Bubble.extend({
|
||||
className: 'multi-selector hover-bubble anchor-right',
|
||||
template: _.template('<div class="title"><strong><%- title %></strong><a class="sr" href="/r/<%- sr_name %>">/r/<%- sr_name %></a></div><div class="throbber"></div>'),
|
||||
itemTemplate: _.template('<label><input class="add-to-multi" type="checkbox" data-path="<%- path %>" <%- checked %>><%- name %><a href="<%- path %>" target="_blank">›</a></label>'),
|
||||
itemTemplate: _.template('<label><input class="add-to-multi" type="checkbox" data-path="<%- path %>" <%- checked %>><%- name %><a href="<%- path %>" target="_blank" title="<%- open_multi %>">›</a></label>'),
|
||||
itemCreateTemplate: _.template('<label><form class="create-multi"><input type="text" class="multi-name" placeholder="<%- create_msg %>"><div class="error create-multi-error"></div></form></label>'),
|
||||
|
||||
events: {
|
||||
@@ -412,7 +412,8 @@ r.multi.MultiSubscribeBubble = r.ui.Bubble.extend({
|
||||
name: multi.get('name'),
|
||||
path: multi.get('path'),
|
||||
checked: multi.subreddits.getByName(this.options.srName)
|
||||
? 'checked' : ''
|
||||
? 'checked' : '',
|
||||
open_multi: r.strings('open_multi')
|
||||
}))
|
||||
}, this)
|
||||
content.append(this.itemCreateTemplate({
|
||||
|
||||
Reference in New Issue
Block a user