summaryrefslogtreecommitdiff
path: root/templates/account.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-25 11:09:30 +0200
committerDerf Null <derf@finalrewind.org>2023-06-25 11:09:30 +0200
commit4845a03f07fc83d452ff2347f0ec159f71b19497 (patch)
tree82cb8b1ab1434791b0fff822ffd669be68d2b157 /templates/account.html.ep
parentb44b770ec3eb820699bad44600c78edb5f4aac9e (diff)
account: move profile link out of settings
Diffstat (limited to 'templates/account.html.ep')
-rw-r--r--templates/account.html.ep15
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
index 68161a7..d3305a2 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -79,9 +79,8 @@
<th scope="row">Sichtbarkeit</th>
<td>
<a href="/account/privacy"><i class="material-icons">edit</i></a>
- <i class="material-icons"><%= visibility_icon($acc->{default_visibility_str}) %></i>
- • <i class="material-icons"><%= visibility_icon($acc->{past_visibility_str}) %></i>
- • <a href="/p/<%= $acc->{name} %>">Öffentliches Profil</a>
+ <i class="material-icons">check</i><i class="material-icons"><%= visibility_icon($acc->{default_visibility_str}) %></i>
+ • <i class="material-icons">history</i><i class="material-icons"><%= visibility_icon($acc->{past_visibility_str}) %></i>
</td>
</tr>
<tr>
@@ -184,6 +183,9 @@
<div class="row">
<div class="col s12">
<h2>Interaktion</h2>
+ <p>
+ <a href="/p/<%= $acc->{name} %>">Öffentliches Profil</a>
+ </p>
<table class="striped">
<tr>
<th scope="row">Anfragen</th>
@@ -245,6 +247,13 @@
</div>
</div>
% }
+% else {
+ <div class="row">
+ <div class="col s12">
+ <a href="/p/<%= $acc->{name} %>">Öffentliches Profil</a>
+ </div>
+ </div>
+% }
% my $token = stash('api_token') // {};
<div class="row">