diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
| commit | 8eab68f2c5a3c126e2fec2ecdfa7ace87ce0937b (patch) | |
| tree | f446ebc26a7707c7b64a937aa51a155df146c80a /app/views/users/show.html.erb | |
| parent | 42714c697273a7117c6b355fab26c8c35e336ad1 (diff) | |
| parent | cdf5d9941ca866d437612d2f863eac6eb0b3db12 (diff) | |
Merge branch 'erdgeist-revive-events'
Diffstat (limited to 'app/views/users/show.html.erb')
| -rw-r--r-- | app/views/users/show.html.erb | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 80483d3..70881db 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb | |||
| @@ -1,20 +1,25 @@ | |||
| 1 | <% content_for :subnavigation do %> | 1 | <div id="page_editor"> |
| 2 | <%= link_to 'Edit', edit_user_path(@user) %> | 2 | <h1><%= @user.login %></h1> |
| 3 | <% end %> | ||
| 4 | 3 | ||
| 5 | <h1>User: <%= @user.login %></h1> | 4 | <div id="content"> |
| 5 | <div class="node_description">Actions</div> | ||
| 6 | <div class="node_content node_info_group"> | ||
| 7 | <div class="node_info_group_items"> | ||
| 8 | <div class="node_info_item"> | ||
| 9 | <%= link_to edit_user_path(@user), class: 'action_button' do %> | ||
| 10 | <%= icon("edit", library: "tabler", "aria-hidden": true) %> Edit | ||
| 11 | <% end %> | ||
| 12 | </div> | ||
| 13 | </div> | ||
| 14 | </div> | ||
| 6 | 15 | ||
| 7 | <table id="new_node"> | 16 | <div class="node_description">Login</div> |
| 8 | <tr> | 17 | <div class="node_content"><%= @user.login %></div> |
| 9 | <td class="description">Login</td> | 18 | |
| 10 | <td><%= @user.login %></td> | 19 | <div class="node_description">E-Mail</div> |
| 11 | </tr> | 20 | <div class="node_content"><%= @user.email %></div> |
| 12 | <tr> | 21 | |
| 13 | <td class="description">E-Mail</td> | 22 | <div class="node_description">Admin?</div> |
| 14 | <td><%= @user.email %></td> | 23 | <div class="node_content"><%= @user.admin ? "yes" : "no" %></div> |
| 15 | </tr> | 24 | </div> |
| 16 | <tr> | 25 | </div> |
| 17 | <td class="description">Admin?</td> | ||
| 18 | <td><%= @user.admin ? "yes" : "no" %></td> | ||
| 19 | </tr> | ||
| 20 | </table> \ No newline at end of file | ||
