mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
mastodon icon in button #2
This commit is contained in:
parent
b52b825575
commit
92de06a9be
2 changed files with 8 additions and 1 deletions
BIN
app/static/images/mastodon_white.png
Normal file
BIN
app/static/images/mastodon_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
|
@ -29,6 +29,13 @@
|
|||
</h1>
|
||||
{% elif user.avatar_image() != '' %}
|
||||
<div class="row">
|
||||
<nav aria-label="breadcrumb" id="breadcrumb_nav" title="Navigation">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="/">{{ _('Home') }}</a></li>
|
||||
<li class="breadcrumb-item"><a href="/people">{{ _('People') }}</a></li>
|
||||
<li class="breadcrumb-item active">{{ user.display_name()|shorten }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="col-2">
|
||||
{% if low_bandwidth %}
|
||||
<img class="community_icon_big rounded-circle" src="{{ user.avatar_image() }}" alt="{{ _('Profile pic') }}" />
|
||||
|
@ -78,7 +85,7 @@
|
|||
<a class="btn btn-primary" href="{{ url_for('user.report_profile', actor=user.link()) }}" rel="nofollow">{{ _('Report') }}</a>
|
||||
{% endif %}
|
||||
{% if user.is_local() %}
|
||||
<a class="btn btn-primary" href="{{ url_for('user.mastodon_redirect', actor=user.link()) }}" rel="nofollow">{{ _('Follow on Mastodon') }}</a>
|
||||
<a class="btn btn-primary" href="{{ url_for('user.mastodon_redirect', actor=user.link()) }}" rel="nofollow"><img src="/static/images/mastodon_white.png" width="25" height="25"> {{ _('Follow on Mastodon') }}</a>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue