mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-03-12 07:26:54 +02:00
Changed some stuff I forgot about
This commit is contained in:
parent
2990aeade2
commit
4ba54bb597
3 changed files with 8 additions and 10 deletions
|
@ -90,7 +90,7 @@
|
|||
<div>
|
||||
<s>The site uses the <a href="https://www.gravatar.com">Gravatar</a> service for user avatars.
|
||||
Check out <a href="https://www.gravatar.com/support/">Gravatar's help section</a> for more detailed instructions.</s>
|
||||
Gravatar is disabled until further notice..
|
||||
Gravatar is disabled until further notice.
|
||||
</div>
|
||||
|
||||
{{ linkable_header("Deleting Your Torrent", "delete") }}
|
||||
|
|
|
@ -255,7 +255,7 @@
|
|||
|
||||
<select class="form-control" title="Filter" data-width="120px" name="f">
|
||||
<option value="0" title="No filter" {% if search is defined and search["quality_filter"] == "0" %}selected{% else %}selected{% endif %}>No filter</option>
|
||||
<option value="1" title="No repacks" {% if search is defined and search["quality_filter"] == "1" %}selected{% endif %}>No remakes</option>
|
||||
<option value="1" title="No repacks" {% if search is defined and search["quality_filter"] == "1" %}selected{% endif %}>No repacks</option>
|
||||
<option value="2" title="Trusted only" {% if search is defined and search["quality_filter"] == "2" %}selected{% endif %}>Trusted only</option>
|
||||
</select>
|
||||
|
||||
|
|
|
@ -47,8 +47,8 @@ def login():
|
|||
ban = models.Ban.banned(user.id, None).first()
|
||||
ban_reason = ban.reason if ban else '[No reason provided]'
|
||||
ban_str = ('<strong>Login failed!</strong> You are banned. '
|
||||
'Reason: "{0}" If you believe this is a mistake, contact '
|
||||
'a moderator on IRC.'.format(ban_reason))
|
||||
'Reason: "{0}" If you believe this is a mistake, please '
|
||||
'contact our team.'.format(ban_reason))
|
||||
flask.flash(Markup(ban_str), 'danger')
|
||||
return flask.redirect(flask.url_for('account.login'))
|
||||
|
||||
|
@ -116,19 +116,17 @@ def register():
|
|||
|
||||
if app.config['RAID_MODE_LIMIT_REGISTER']:
|
||||
flask.flash(Markup(app.config['RAID_MODE_REGISTER_MESSAGE'] + ' '
|
||||
'Please <a href="{}">ask a moderator</a> to manually '
|
||||
'Please <a href="{}">ask our team</a> to manually '
|
||||
'activate your account <a href="{}">\'{}\'</a>.'
|
||||
.format(flask.url_for('site.help') + '#irchelp',
|
||||
flask.url_for('users.view_user',
|
||||
.format(flask.url_for('users.view_user',
|
||||
user_name=user.username),
|
||||
user.username)), 'warning')
|
||||
|
||||
elif models.RangeBan.is_rangebanned(user.registration_ip):
|
||||
flask.flash(Markup('Your IP is blocked from creating new accounts. '
|
||||
'Please <a href="{}">ask a moderator</a> to manually '
|
||||
'Please <a href="{}">ask our team</a> to manually '
|
||||
'activate your account <a href="{}">\'{}\'</a>.'
|
||||
.format(flask.url_for('site.help') + '#irchelp',
|
||||
flask.url_for('users.view_user',
|
||||
.format(flask.url_for('users.view_user',
|
||||
user_name=user.username),
|
||||
user.username)), 'warning')
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue