2022-11-11 23:44:35 +00:00
{% extends "base.html" %}
2023-10-10 20:54:14 +00:00
{% block title %}{{ id }} {{ tab }} - Bridgy Fed{% endblock %}
2022-11-11 23:44:35 +00:00
{% block content %}
2024-01-09 22:03:56 +00:00
{% if user.LABEL == 'web' and not user.has_redirects %}
2022-11-19 06:30:07 +00:00
< div class = "row promo warning" >
2024-01-09 22:03:56 +00:00
2024-01-15 22:26:26 +00:00
< p > Bridgy Fed is providing < a href = "{{ user.web_url() }}" > {{ user.handle_or_id() }}< / a > a presence in the < a href = "https://en.wikipedia.org/wiki/Fediverse" > fediverse< / a > . This account was generated automatically when someone first followed it. < a href = "/docs#web-how-post" > Learn more here< / a > .< / p >
2024-01-09 22:03:56 +00:00
2024-01-15 22:26:26 +00:00
< p > Do you own < a href = "{{ user.web_url() }}" > {{ user.handle_or_id() }}< / a > ? You can < a href = "/docs#opt-out" > opt out< / a > or < a href = "/docs#fediverse-enhanced" > upgrade your fediverse handle< / a > from < code > @web.brid.gy< / code > to < code > @{{ user.handle_or_id() }}< / code > .< / p >
2022-11-28 01:33:53 +00:00
2024-01-15 22:26:26 +00:00
< form method = "post" action = "/web-site" >
< span style = "vertical-align: top" >
Got your < a href = "/docs#fediverse-enhanced" > redirects set up< / a > ?
< input type = "hidden" name = "url" value = "{{ user.web_url() }}" / >
< input type = "submit" class = "btn btn-default" value = "Check now" / >
< / span >
2022-11-19 06:30:07 +00:00
2024-01-15 22:26:26 +00:00
{% if user.redirects_error %}
< details >
< summary class = "btn btn-default" > See results< / summary >
< span class = "small" > {{ user.redirects_error|safe }}< / span >
< / details >
{% endif %}
< / form >
2022-11-19 06:30:07 +00:00
< / div >
2024-01-09 22:03:56 +00:00
{% endif %} {# promos for web users #}
2022-11-19 06:30:07 +00:00
2023-10-10 22:38:53 +00:00
< div class = "row" >
2023-10-11 04:19:26 +00:00
< span class = "big" >
< nobr >
2024-04-29 19:26:54 +00:00
{{ user.user_link(handle=True, maybe_internal_link=False)|safe }}
2024-04-23 03:21:56 +00:00
< form method = "post" action = "{{ user.user_page_path('update-profile') }}" >
< button id = "update-profile-button" type = "submit" title = "Update profile"
class="btn btn-default glyphicon glyphicon-refresh">< / button >
< / form >
2023-10-11 04:19:26 +00:00
< / nobr >
< / span >
2024-04-12 03:02:53 +00:00
{% set copies = user.copies|map(attribute='protocol')|list %}
2023-10-11 04:19:26 +00:00
{% for proto in set(PROTOCOLS.values()) %}
2024-04-18 23:33:50 +00:00
{% if proto and not isinstance(user, proto) and proto.LABEL not in ('ui', 'web')
2024-04-28 03:27:33 +00:00
and user.is_enabled(proto) %}
2024-04-12 15:46:59 +00:00
{% set url = proto.bridged_web_url_for(user) %}
2024-02-11 22:35:10 +00:00
·
2023-10-11 04:19:26 +00:00
< nobr title = "{{ proto.__name__ }} (bridged)" >
2024-04-12 15:46:59 +00:00
{% if url %} < a href = "{{ url }}" > {% endif %}
2023-10-11 04:19:26 +00:00
< span class = "logo" > {{ proto.LOGO_HTML|safe }}< / span >
2024-02-11 22:35:10 +00:00
{{ user.handle_as(proto) }}
2024-04-12 15:46:59 +00:00
{% if url %} < / a > {% endif %}
2023-10-11 04:19:26 +00:00
< / nobr >
{% endif %}
{% endfor %}
2023-10-10 20:54:14 +00:00
< / div >
<!-- tabs -->
< div class = "row tabs" >
2023-10-11 04:19:26 +00:00
< a class = "left-tab" > < / a >
2023-11-20 04:48:31 +00:00
< a href = "{{ user.user_page_path() }}"
2023-10-10 20:54:14 +00:00
{% if tab == 'profile' %}class="active-tab"{% endif %}
2023-11-20 04:48:31 +00:00
>👤 Profile< / a > {% if user.LABEL == 'web' %}< a
href="{{ user.user_page_path('home') }}"
2023-10-10 20:54:14 +00:00
{% if tab == 'home' %}class="active-tab"{% endif %}
2023-11-08 19:35:26 +00:00
>🏠 Feed< / a > {% endif %}< a
2023-11-20 04:48:31 +00:00
href="{{ user.user_page_path('notifications') }}"
2023-10-10 20:54:14 +00:00
{% if tab == 'notifications' %}class="active-tab"{% endif %}
>🔔 Notifications< / a >
2023-10-11 04:19:26 +00:00
< a class = "right-tab" > < / a >
2023-10-10 20:54:14 +00:00
< / div >
2022-11-22 23:21:53 +00:00
2023-10-10 20:54:14 +00:00
{% block subtabs %}
{% endblock subtabs %}
2022-11-12 16:25:36 +00:00
2023-10-10 20:54:14 +00:00
{% block feed %}
2022-11-12 23:27:59 +00:00
{% include "activities.html" %}
2023-10-10 20:54:14 +00:00
{% endblock feed %}
2022-11-11 23:44:35 +00:00
2023-10-10 20:54:14 +00:00
{% endblock content %}