Skip to content

Commit

Permalink
Merge pull request scidsg#629 from scidsg/alias-updates
Browse files Browse the repository at this point in the history
Add link to alias tip line
  • Loading branch information
glenn-sorrentino authored Oct 1, 2024
2 parents c974cc8 + ee6b67c commit 6cbe2eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion hushline/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2191,6 +2191,12 @@ p.bio + .extra-fields {
background-repeat: no-repeat;
}

.alias-heading + .meta,
.alias-heading + a {
margin-bottom: 2rem;
margin-top: 0.25rem;
}

.icon.back {
transform: rotate(180deg);
display: inline-block;
Expand All @@ -2204,7 +2210,8 @@ p.bio + .extra-fields {
}

.alias-heading {
margin-bottom: 1rem;
margin-bottom: 0.25rem;
margin-top: 0.5rem;
}

.drill-in {
Expand Down
1 change: 1 addition & 0 deletions hushline/templates/settings/alias.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<div class="drill-in">
<a href="{{ url_for('.index') }}" class="back-button"><span class="icon chevron back"></span> Back to Settings</a>
<h2 class="alias-heading">{{ alias.display_name or alias.username }}</h2>
<a href="{{ url_for('profile', username=alias.username) }}">Alias tip line</a>

{# TODO: much of this is copy/pasted from "settings/profile.html" and will need to be synced with updates there #}
<h3>Update Display Name</h3>
Expand Down

0 comments on commit 6cbe2eb

Please sign in to comment.