aboutsummaryrefslogtreecommitdiff
path: root/app/views/welcome/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/welcome/index.html.erb')
-rw-r--r--app/views/welcome/index.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb
new file mode 100644
index 0000000..a1fa276
--- /dev/null
+++ b/app/views/welcome/index.html.erb
@@ -0,0 +1,8 @@
+<h1>Bienvenue à l'atelier carto d'IN COMMON</h1>
+
+<% if current_user.present? %>
+ <p>Hi <%= h current_user.name %>, please <%= link_to 'proceed to your dashboard', url_for(action: 'dashboard') %>.</p>
+ <p>You may <%= link_to 'sign off', logout_url %>.</p>
+<% else %>
+ <p><%= link_to "S'identifier avec Talk.incommon.cc", '/authenticate' %></p>
+<% end %>