Skip to content

Commit

Permalink
don't mix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Schubert committed Dec 13, 2014
1 parent baac21c commit e909878
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title><%= page_title yield :page_title %></title>

<meta charset="utf-8">
<%= favicon_link_tag "favicon.png" %>
<%= favicon_link_tag 'favicon.png' %>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<%= auto_discovery_link_tag :atom, news_feed_url(subdomain: 'blog'), {:title => t('newsfeed')} %>
Expand Down Expand Up @@ -33,8 +33,8 @@
<li><%= link_to t('pages.planet.menu_title'), planet_index_url(subdomain: 'planet') %></li>
<li>
<p class="navbar-btn">
<%= link_to t('buttons.host_pod'), about_url(subdomain: false, anchor: "host"), class: 'btn btn-primary' %>
<%= link_to t('buttons.join_diaspora'), root_url(subdomain: false, anchor: "get_started"), class: 'btn btn-success' %>
<%= link_to t('buttons.host_pod'), about_url(subdomain: false, anchor: 'host'), class: 'btn btn-primary' %>
<%= link_to t('buttons.join_diaspora'), root_url(subdomain: false, anchor: 'get_started'), class: 'btn btn-success' %>
</p>
</li>
</ul>
Expand Down
22 changes: 11 additions & 11 deletions app/views/pages/about.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% content_for :page_title, t('.menu_title') %>
<% content_for :wrapper_class, "about-page" %>
<% content_for :wrapper_class, 'about-page' %>

<div class="hero" id="masthead">
<div class="container">
Expand All @@ -21,14 +21,14 @@
<div class="col-md-6">
<h3 class="lead"><%= t '.this' %></h3>
<p class="text-center">
<%= image_tag "pages/about/network-distributed.png", alt: t('.distributed_network') %>
<%= image_tag 'pages/about/network-distributed.png', alt: t('.distributed_network') %>
</p>
<p><%= t '.this_ex' %></p>
</div>
<div class="col-md-6">
<h3 class="lead"><%= t '.notthis' %></h3>
<p class="text-center">
<%= image_tag "pages/about/network-centralized.png", alt: t('.centralized_network') %>
<%= image_tag 'pages/about/network-centralized.png', alt: t('.centralized_network') %>
</p>
<p><%= t '.notthis_ex' %></p>
</div>
Expand All @@ -55,7 +55,7 @@
<div class="row">
<div class="col-md-2">
<p class="text-center">
<%= image_tag "pages/about/search.png", alt: t('.search_alt') %>
<%= image_tag 'pages/about/search.png', alt: t('.search_alt') %>
</p>
</div>
<div class="col-md-4">
Expand All @@ -64,7 +64,7 @@
</div>
<div class="col-md-2">
<p class="text-center">
<%= image_tag "pages/about/plus.png", alt: t('.add_a_contact_alt') %>
<%= image_tag 'pages/about/plus.png', alt: t('.add_a_contact_alt') %>
</p>
</div>
<div class="col-md-4">
Expand Down Expand Up @@ -94,7 +94,7 @@
<h3><%= t '.fdm3' %></h3>
<p><%= t '.fdm3_ex' %></p>
<p>
<%= link_to t('buttons.find_more'), get_involved_path, class: "btn btn-primary" %>
<%= link_to t('buttons.find_more'), get_involved_path, class: 'btn btn-primary' %>
</p>
</div>
</div>
Expand Down Expand Up @@ -162,28 +162,28 @@
<div class="row">
<div class="col-md-3">
<p class="text-center">
<%= image_tag "pages/about/hashtag.png", alt: t('.hashtag_alt') %>
<%= image_tag 'pages/about/hashtag.png', alt: t('.hashtag_alt') %>
</p>
<h3><%= t '.hashtags' %></h3>
<p><%= t '.hashtags_ex' %></p>
</div>
<div class="col-md-3">
<p class="text-center">
<%= image_tag "pages/about/reshare.png", alt: t('.reshare_alt') %>
<%= image_tag 'pages/about/reshare.png', alt: t('.reshare_alt') %>
</p>
<h3><%= t '.reshare' %></h3>
<p><%= t '.reshare_ex' %></p>
</div>
<div class="col-md-3">
<p class="text-center">
<%= image_tag "pages/about/mention.png", alt: t('.mention_alt') %>
<%= image_tag 'pages/about/mention.png', alt: t('.mention_alt') %>
</p>
<h3><%= t '.mentions' %></h3>
<p><%= t '.mentions_ex' %></p>
</div>
<div class="col-md-3">
<p class="text-center">
<%= image_tag "pages/about/heart.png", alt: t('.heart_alt') %>
<%= image_tag 'pages/about/heart.png', alt: t('.heart_alt') %>
</p>
<h3><%= t '.love' %></h3>
<p><%= t '.love_ex' %></p>
Expand All @@ -200,7 +200,7 @@
<div class="container">
<div class="row">
<div class="col-md-5">
<%= image_tag "pages/about/network-distributed.png", alt: t('.distributed_network'), size: "400x161" %>
<%= image_tag 'pages/about/network-distributed.png', alt: t('.distributed_network'), size: '400x161' %>
</div>
<div class="col-md-7">
<p><%= t '.host_ex' %></p>
Expand Down
24 changes: 12 additions & 12 deletions app/views/pages/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% content_for :wrapper_class, "index-page" %>
<% content_for :wrapper_class, 'index-page' %>

<div id="masthead" class="hero">
<div class="container">
Expand All @@ -9,7 +9,7 @@

<div class="container top-spacing">
<div class="row">
<%= image_tag "pages/index/earthD2.png", alt: t('.earth_alt'), class: 'img-responsive center-block' %>
<%= image_tag 'pages/index/earthD2.png', alt: t('.earth_alt'), class: 'img-responsive center-block' %>
</div>
</div>

Expand All @@ -21,27 +21,27 @@
<div class="row minor-top-spacing">
<div class="col-md-4">
<p class="text-center">
<%= image_tag "pages/index/decentralized-stamp.png", alt: t('.decentralized_alt') %>
<%= image_tag 'pages/index/decentralized-stamp.png', alt: t('.decentralized_alt') %>
</p>
<h3><%= t '.decentralization' %></h3>
<p class="feature-description"><%= t '.decentralization_about' %></p>
<p><%= link_to t('buttons.find_more'), about_path, class: "btn btn-primary" %></p>
<p><%= link_to t('buttons.find_more'), about_path, class: 'btn btn-primary' %></p>
</div>
<div class="col-md-4">
<p class="text-center">
<%= image_tag "pages/index/freedom-stamp.png", alt: t('.freedom_alt') %>
<%= image_tag 'pages/index/freedom-stamp.png', alt: t('.freedom_alt') %>
</p>
<h3><%= t '.freedom' %></h3>
<p class="feature-description"><%= t '.freedom_about' %></p>
<p><%= link_to t('buttons.find_more'), about_path(anchor: 'freedom'), class: "btn btn-primary" %></p>
<p><%= link_to t('buttons.find_more'), about_path(anchor: 'freedom'), class: 'btn btn-primary' %></p>
</div>
<div class="col-md-4">
<p class="text-center">
<%= image_tag "pages/index/keyhole-stamp.png", alt: t('.keyhole_alt') %>
<%= image_tag 'pages/index/keyhole-stamp.png', alt: t('.keyhole_alt') %>
</p>
<h3><%= t '.privacy' %></h3>
<p class="feature-description"><%= t '.privacy_about' %></p>
<p><%= link_to t('buttons.find_more'), about_path(anchor: 'privacy'), class: "btn btn-primary" %></p>
<p><%= link_to t('buttons.find_more'), about_path(anchor: 'privacy'), class: 'btn btn-primary' %></p>
</div>
</div>
</div>
Expand Down Expand Up @@ -91,7 +91,7 @@
<div class="row top-spacing">
<div class="col-md-4">
<p class="text-center feature-header-image">
<%= image_tag "pages/index/aspects.png", alt: t('.aspects_alt') %>
<%= image_tag 'pages/index/aspects.png', alt: t('.aspects_alt') %>
</p>
<h3><%= t '.aspects' %></h3>
<p class="feature-description"><%= t '.aspects_ex' %></p>
Expand All @@ -103,7 +103,7 @@
</div>
<div class="col-md-4">
<p class="text-center feature-header-image">
<%= image_tag "pages/index/features.png", alt: t('.features_alt') %>
<%= image_tag 'pages/index/features.png', alt: t('.features_alt') %>
</p>
<h3><%= t '.features' %></h3>
<p class="feature-description"><%= t '.features_ex' %></p>
Expand All @@ -115,7 +115,7 @@
</div>
<div class="col-md-4">
<p class="text-center feature-header-image">
<%= image_tag "pages/index/question-stamp.png", alt: t('.ways_to_help_alt') %>
<%= image_tag 'pages/index/question-stamp.png', alt: t('.ways_to_help_alt') %>
</p>
<h3><%= t '.help' %></h3>
<p class="feature-description"><%= t '.help_ex' %></p>
Expand All @@ -128,7 +128,7 @@
</div>
<div class="row top-spacing">
<div class="col-md-2">
<%= image_tag "pages/index/services.png", alt: t('.services_alt'), class: 'services-teaser-image' %>
<%= image_tag 'pages/index/services.png', alt: t('.services_alt'), class: 'services-teaser-image' %>
</div>
<div class="col-md-10">
<h3><%= t '.socialint' %></h3>
Expand Down

0 comments on commit e909878

Please sign in to comment.