diff --git a/app/assets/stylesheets/camp_card.css.scss b/app/assets/stylesheets/camp_card.css.scss index d66c0bbc..fd30962d 100644 --- a/app/assets/stylesheets/camp_card.css.scss +++ b/app/assets/stylesheets/camp_card.css.scss @@ -87,6 +87,9 @@ p { .camp-description{ margin-top: 10px; + a { + color: #a94442; + } } .delete-button { diff --git a/app/views/camps/show.html.erb b/app/views/camps/show.html.erb index 9121ffb8..68043734 100644 --- a/app/views/camps/show.html.erb +++ b/app/views/camps/show.html.erb @@ -131,55 +131,55 @@ <%=t :form_summary %> <% @subtitle = (Rails.configuration.x.firestarter_settings['multi_lang_support'] and @camp.en_subtitle.present? and I18n.locale.to_s == 'en')? @camp.en_subtitle : @camp.subtitle %> - <%= simple_format(Rinku.auto_link(@subtitle), class: "auto-#{@detector.direction(@subtitle)}" ) %> + <%= simple_format(Rinku.auto_link(@subtitle, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@subtitle)}" ) %> <% if Rails.configuration.x.firestarter_settings["description"] and @camp.description.present? %>
<%=t :form_description_label %> - <%= simple_format(Rinku.auto_link(@camp.description), class: "auto-#{@detector.direction(@camp.description)}" ) %> + <%= simple_format(Rinku.auto_link(@camp.description, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@camp.description)}" ) %>
<% end %> <% if @camp.about_the_artist.present? %>
<%=t :form_about_the_artist_label %> - <%= simple_format(Rinku.auto_link(@camp.about_the_artist), class: "auto-#{@detector.direction(@camp.about_the_artist)}" ) %> + <%= simple_format(Rinku.auto_link(@camp.about_the_artist, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@camp.about_the_artist)}" ) %>
<% end %> <% if Rails.configuration.x.firestarter_settings["plan"] and @camp.plan.present? %>
<%=t :form_plan_label %> - <%= simple_format(Rinku.auto_link(@camp.plan), class: "auto-#{@detector.direction(@camp.plan)}" ) %> + <%= simple_format(Rinku.auto_link(@camp.plan, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@camp.plan)}" ) %>
<% end %> <% if Rails.configuration.x.firestarter_settings["moop"] and @camp.moop.present? %>
<%=t :form_moop_label %> - <%= simple_format(Rinku.auto_link(@camp.moop), class: "auto-#{@detector.direction(@camp.moop)}" ) %> + <%= simple_format(Rinku.auto_link(@camp.moop, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@camp.moop)}" ) %>
<% end %> <% if Rails.configuration.x.firestarter_settings["recycling"] and @camp.recycling.present? %>
<%=t :form_recycling_label %> - <%= simple_format(Rinku.auto_link(@camp.recycling), class: "auto-#{@detector.direction(@camp.recycling)}" ) %> + <%= simple_format(Rinku.auto_link(@camp.recycling, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@camp.recycling)}" ) %>
<% end %> <% if Rails.configuration.x.firestarter_settings["budgetplan"] and @camp.budgetplan.present? %>
<%=t :form_budgetplan_label %> - <%= simple_format(Rinku.auto_link(@camp.budgetplan), class: "auto-#{@detector.direction(@camp.budgetplan)}" ) %> + <%= simple_format(Rinku.auto_link(@camp.budgetplan, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@camp.budgetplan)}" ) %>
<% end %> <% if Rails.configuration.x.firestarter_settings["cocreation"] and @camp.cocreation.present? %>
<%=t :form_cocreation_label %> - <%= simple_format(Rinku.auto_link(@camp.cocreation), class: "auto-#{@detector.direction(@camp.cocreation)}" ) %> + <%= simple_format(Rinku.auto_link(@camp.cocreation, :all, 'target="_blank"'), class: "auto-#{@detector.direction(@camp.cocreation)}" ) %>
<% end %>