account: move profile link out of settings

This commit is contained in:
Derf Null 2023-06-25 11:09:30 +02:00
parent b44b770ec3
commit 4845a03f07
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -79,9 +79,8 @@
<th scope="row">Sichtbarkeit</th> <th scope="row">Sichtbarkeit</th>
<td> <td>
<a href="/account/privacy"><i class="material-icons">edit</i></a> <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">check</i><i class="material-icons"><%= visibility_icon($acc->{default_visibility_str}) %></i>
• <i class="material-icons"><%= visibility_icon($acc->{past_visibility_str}) %></i> • <i class="material-icons">history</i><i class="material-icons"><%= visibility_icon($acc->{past_visibility_str}) %></i>
• <a href="/p/<%= $acc->{name} %>">Öffentliches Profil</a>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -184,6 +183,9 @@
<div class="row"> <div class="row">
<div class="col s12"> <div class="col s12">
<h2>Interaktion</h2> <h2>Interaktion</h2>
<p>
<a href="/p/<%= $acc->{name} %>">Öffentliches Profil</a>
</p>
<table class="striped"> <table class="striped">
<tr> <tr>
<th scope="row">Anfragen</th> <th scope="row">Anfragen</th>
@ -245,6 +247,13 @@
</div> </div>
</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') // {}; % my $token = stash('api_token') // {};
<div class="row"> <div class="row">