Skip to content
Snippets Groups Projects
Commit 0dc6b7e7 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent b9ed654d
No related branches found
No related tags found
No related merge requests found
......@@ -10,14 +10,13 @@
<th><%= Communication::Extranet.human_attribute_name('about_type') %></th>
<th><%= Communication::Extranet.human_attribute_name('about') %></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @extranets.each do |extranet| %>
<tr>
<td><%= link_to extranet, [:admin, extranet] %></td>
<td><%= link_to extranet.url, extranet.url, target: :_blank %></td>
<td><%= link_to extranet.url, extranet.url, target: :_blank unless extranet.url.blank? %></td>
<td><%= I18n.t("activerecord.attributes.communication/extranet.about_#{extranet.about_type}") %></td>
<td><%= link_to extranet.about, [:admin, extranet.about] if extranet.about %></td>
<td class="text-end">
......
......@@ -16,7 +16,7 @@
<% @websites.each do |website| %>
<tr>
<td><%= link_to website, [:admin, website] %></td>
<td><%= link_to website.url, website.url, target: :_blank %></td>
<td><%= link_to website.url, website.url, target: :_blank unless website.url.blank? %></td>
<td><%= I18n.t("activerecord.attributes.communication/website.about_#{website.about_type}") %></td>
<td><%= link_to_if can?(:read, website.about), website.about, [:admin, website.about] if website.about %></td>
<td class="text-end">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment