Skip to content

Commit

Permalink
Merge pull request #80 from HelloYeew/adjust-css-and-support
Browse files Browse the repository at this point in the history
Adjust CSS and change support box display requirement
  • Loading branch information
HelloYeew authored Sep 24, 2021
2 parents 846366f + 4ac8f36 commit 874c82e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions rurusetto/users/static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -601,3 +601,11 @@ a.disabled {
color: #ffb3d4;
}

form.form a {
text-decoration: unset;
}

form.form a:hover {
letter-spacing: 1px;
}

2 changes: 1 addition & 1 deletion rurusetto/wiki/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def wiki_page(request, slug):
can_support = False
try:
ruleset_owner_profile = Profile.objects.get(user=User.objects.get(id=int(ruleset.owner)))
if (ruleset_owner_profile.support_message != '') and (ruleset_owner_profile.support_patreon or ruleset_owner_profile.support_kofi or ruleset_owner_profile.support_github_sponsors):
if ruleset_owner_profile.support_message != '':
can_support = True
except User.DoesNotExist:
can_support = False
Expand Down

0 comments on commit 874c82e

Please sign in to comment.