aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorIN COMMON Collective <collective@incommon.cc>2021-03-22 23:53:46 +0100
committerIN COMMON Collective <collective@incommon.cc>2021-03-22 23:53:46 +0100
commitc738e96b2b99bfd92b70d4cec26d6874a7f609e4 (patch)
tree5a20ca7c2ac1a24276db3822ed3d16b113310910 /app/views
parent2ab72be43107e23cc325bf0bb4f449a8eb697277 (diff)
parent30212382cc00b13c1fd65e5432afe1480e9e4be6 (diff)
downloadincommon-map-0.1.9.tar.gz
Merge branch 'main' of code.cepheide.org:incommon-map into mainv0.1.9
Diffstat (limited to 'app/views')
-rw-r--r--app/views/application/_user_info.html.erb1
-rw-r--r--app/views/resources/_popup.html.erb6
2 files changed, 7 insertions, 0 deletions
diff --git a/app/views/application/_user_info.html.erb b/app/views/application/_user_info.html.erb
index 122ec19..0f003bb 100644
--- a/app/views/application/_user_info.html.erb
+++ b/app/views/application/_user_info.html.erb
@@ -15,3 +15,4 @@
<% content_for :debug do %>
<%= @current_user&.avatar_url %>
<% end %>
+
diff --git a/app/views/resources/_popup.html.erb b/app/views/resources/_popup.html.erb
index 0841264..0e8b1da 100644
--- a/app/views/resources/_popup.html.erb
+++ b/app/views/resources/_popup.html.erb
@@ -7,4 +7,10 @@
<%= m resource.description %>
</section>
<% end %>
+ <nav>
+ <ul>
+ <li><%= link_to(tag.nobr(resource.uuid), resource_path(resource), title: 'voir la fiche correspondante') %></li>
+ <li><%= link_to('modifier', edit_resource_url(resource), title: 'nodifier cette ressource') %></li>
+ </ul>
+ </nav>
</article>