Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Remove remaining links to /about/team page
Browse files Browse the repository at this point in the history
  • Loading branch information
Deimos committed Jun 22, 2016
1 parent 28332d6 commit e355b0d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
1 change: 0 additions & 1 deletion r2/r2/lib/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def __getattr__(self, attr):
advertising = _("advertise"),
gold = _('reddit gold'),
reddits = _('subreddits'),
team = _('team'),
rules = _('site rules'),
jobs = _('jobs'),
transparency = _("transparency"),
Expand Down
2 changes: 0 additions & 2 deletions r2/r2/lib/template_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,6 @@ def add_attr(attrs, kind, label=None, link=None, cssclass=None, symbol=None):
cssclass = 'admin'
if not label:
label = _('reddit admin, speaking officially')
if not link:
link = '/about/team'
elif kind in ('X', '@'):
priority = 5
cssclass = 'gray'
Expand Down
18 changes: 6 additions & 12 deletions r2/r2/templates/messagecompose.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ <h1>${_("send a private message")}</h1>
var admins = ${unsafe(simplejson.dumps(thing.admins))};

if ($.inArray(elem.value, admins) >= 0) {
$(".admin-to")
.text(elem.value)
.attr('href', '/about/team/#user/' + elem.value);
$(".admin-to").text(elem.value);
$(".clippy").show();
} else {
$(".clippy").hide();
Expand All @@ -124,17 +122,13 @@ <h1>${_("send a private message")}</h1>
<p>
Before you click "send", you might want to make sure that
&#32;
<a class="admin-to" href="/about/team/#user/${thing.to}">${thing.to}</a>
<span class="admin-to">${thing.to}</span>
&#32;
is the right admin for the job. The
&#32;
<a href="/about/team/">team page</a>
&#32;
has some info about who handles what.

Also:
is the right admin for the job.
</p>

<p>In many cases, there is probably a better alternative than messaging an individual admin:</p>

<ul>
<li>If you'd like to message all the admins at once, send your message to the&#32;<a href="/message/compose?to=${g.admin_message_acct|u}">admin message list.</a></li>

Expand All @@ -151,7 +145,7 @@ <h1>${_("send a private message")}</h1>
<li>If
&#32;
<span class="admin-to">${thing.to}</span>
&#32;<i>is</i>&#32; is a moderator of a specific subreddit you're
&#32;<i>is</i>&#32; a moderator of a specific subreddit you're
inquiring about, and that's actually the reason you're writing, please
message
&#32;
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/templates/profilebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1>${thing.user.name}
%if thing.user.employee:
<span class="user-distinction">
[
<a href="/about/team/#user/${thing.user.name.lower()}" class="admin" title="reddit admin">A</a>
<span class="admin" title="reddit admin">A</span>
]
</span>
%endif
Expand Down

0 comments on commit e355b0d

Please sign in to comment.