Dashboard navigation enhancements
Dashboard links that bring the user outside the dashboard will be open in a separate tab
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="small-12 large-9 column">
|
||||
<%= link_to t("dashboard.community.access_community"), community_path(proposal.community), class: 'button hollow' %>
|
||||
<%= link_to t("dashboard.community.access_community"), community_path(proposal.community), class: 'button hollow', target: '_blank' %>
|
||||
<% unless proposal.community.latest_activity.nil? %>
|
||||
<p class="help-text"><%= t("dashboard.community.latest_activity", at: l(proposal.community.latest_activity.to_date)) %></p>
|
||||
<% end %>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<i class="fi-clipboard-notes"></i> <%= t("dashboard.polls.poll.copy_link") %>
|
||||
</a>
|
||||
</p>
|
||||
<h4 class="text-center"><%= link_to poll.title, poll %></h4>
|
||||
<h4 class="text-center"><%= link_to poll.title, poll, target: '_blank' %></h4>
|
||||
<p class="text-center">
|
||||
<%= l(poll.starts_at.to_date) %> - <%= l(poll.ends_at.to_date) %>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user