diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index 87ff87370..ddcce195d 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -116,7 +116,7 @@ L.OSM.layers = function (options) { $("
") .text(I18n.t("javascripts.map.layers.overlays")) - .attr("class", "deemphasize") + .attr("class", "text-muted") .appendTo(overlaySection); var overlays = $("
") - .attr("class", "deemphasize") + .attr("class", "text-muted") .text(I18n.t("javascripts.share.paste_html")) .appendTo($linkSection)); @@ -147,7 +147,7 @@ L.OSM.share = function (options) { $("
") - .attr("class", "deemphasize") + .attr("class", "text-muted") .html(I18n.t("javascripts.share.image_size") + " x ") .appendTo($form); diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 8be986db5..260504ac3 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -96,6 +96,10 @@ a { } } +.text-muted a { + color: $blue; +} + /* Rules for the header */ #menu-icon { @@ -1405,7 +1409,7 @@ tr.turn:hover { margin-top: $lineheight/2; } - &.deemphasize { + &.deleted { background-color: #fee; } @@ -1460,7 +1464,7 @@ tr.turn:hover { padding-top: $lineheight; border-top: 1px solid $grey; } - &.deemphasize { + &.deleted { background-color: #fee; } p { diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index 0b62256a9..4b741baae 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -129,13 +129,6 @@ body.small { height: 300px !important; } - #userinformation .deemphasize { - position: relative; - right: auto; left: auto; - margin-top: 10px; - top: auto; - } - &.site-about #content .attr h1 { font-size: 28px; } diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index afe3f8322..5a50aa91f 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -34,7 +34,7 @@ <% @comments.each do |comment| %> <% if comment.visible %>
<%= report_link(t(".report"), @note) %>
+<%= report_link(t(".report"), @note) %>
<% end %> <% if @note_comments.length > 1 %> @@ -32,7 +32,7 @@
<%= t(".comment_from_html", :link_user => (link_to diary_comment.user.display_name, user_path(diary_comment.user)), :comment_created_at => link_to(l(diary_comment.created_at, :format => :friendly), :anchor => "comment#{diary_comment.id}")) %> +
<%= t(".comment_from_html", :link_user => (link_to diary_comment.user.display_name, user_path(diary_comment.user)), :comment_created_at => link_to(l(diary_comment.created_at, :format => :friendly), :anchor => "comment#{diary_comment.id}")) %> <% if current_user and diary_comment.user.id != current_user.id %> | <%= report_link(t(".report"), diary_comment) %> <% end %> diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb index b0c464718..48df5d18e 100644 --- a/app/views/diary_entries/_diary_entry.html.erb +++ b/app/views/diary_entries/_diary_entry.html.erb @@ -1,4 +1,4 @@ -
<%= link_to diary_entry.title, diary_entry_path(diary_entry.user, diary_entry) %>
- + <%= t(".posted_by_html", :link_user => (link_to diary_entry.user.display_name, user_path(diary_entry.user)), :created => l(diary_entry.created_at, :format => :blog), :language_link => (link_to diary_entry.language.name, :controller => "diary_entries", :action => "index", :display_name => nil, :language => diary_entry.language_code)) %> diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 5efa6a1bb..6472a4967 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -1,7 +1,7 @@ <% content_for :heading do %><%= t ".title", :status => @issue.status.humanize, :issue_id => @issue.id %>
<%= @issue.reportable.model_name.human %> : <%= link_to reportable_title(@issue.reportable), reportable_url(@issue.reportable) %>
-+
<%= @issue.assigned_role %> | <%= t ".reports", :count => @issue.reports.count %> diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index 8980cb8f2..ff15836b7 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -9,7 +9,7 @@ <% end %><%= link_to trace.name, :controller => "traces", :action => "show", :display_name => trace.user.display_name, :id => trace.id %>
- ...
+ ...
<% if trace.inserted %>
(<%= t ".count_points", :count => trace.size %>)
<% end %>
diff --git a/app/views/users/_contact.html.erb b/app/views/users/_contact.html.erb
index d067bd478..4446c519d 100644
--- a/app/views/users/_contact.html.erb
+++ b/app/views/users/_contact.html.erb
@@ -7,7 +7,7 @@
<%= tag.div :class => "contact-activity clearfix", :data => { :user => user_data } do %>
<%= user_thumbnail contact %>
-
+
<%= link_to contact.display_name, user_path(contact) %> <% if @user.home_lon and @user.home_lat and contact.home_lon and contact.home_lat %> <% distance = @user.distance(contact) %> @@ -31,7 +31,7 @@ <% end %>
-+- <%= link_to t("users.show.send message"), new_message_path(contact) %>
-
<% if current_user.is_friends_with?(contact) %>
diff --git a/app/views/users/confirm.html.erb b/app/views/users/confirm.html.erb
index 3a2e12578..a3902c0a9 100644
--- a/app/views/users/confirm.html.erb
+++ b/app/views/users/confirm.html.erb
@@ -20,11 +20,11 @@
<% else %>
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 4e48ee983..440d68874 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -147,7 +147,7 @@
<% end %>
-
<% if current_user and current_user.administrator? -%>
-
+
<%= t ".email address" %> <%= @user.email %>
<% unless @user.creation_ip.nil? -%>
<%= t ".created from" %> <%= @user.creation_ip %>
diff --git a/app/views/users/terms.html.erb b/app/views/users/terms.html.erb
index 33ca3a3e6..bc8b86ef2 100644
--- a/app/views/users/terms.html.erb
+++ b/app/views/users/terms.html.erb
@@ -9,12 +9,12 @@
<%= form_tag({ :action => "save" }, { :class => "standard-form fillL" }) do %>
-
-
-
<%= t ".introduction_1" %> - + <%= t ".introduction_2" %>
-<%= t ".reconfirm_html", - :reconfirm => url_for(:action => "confirm_resend") %>
+<%= t ".reconfirm_html", + :reconfirm => url_for(:action => "confirm_resend") %>
<% end %> diff --git a/app/views/users/login.html.erb b/app/views/users/login.html.erb index ac61d7df7..365245bf0 100644 --- a/app/views/users/login.html.erb +++ b/app/views/users/login.html.erb @@ -10,7 +10,7 @@ <%= form_tag({ :action => "login" }, { :id => "login_form" }) do %> <%= hidden_field_tag("referer", h(params[:referer])) %> -<%= t ".no account" %> <%= link_to t(".register now"), :action => :new, :referer => params[:referer] %>
+<%= t ".no account" %> <%= link_to t(".register now"), :action => :new, :referer => params[:referer] %>
+
<%= t ".mapper since" %> <%= l @user.creation_time.to_date, :format => :long %> <% unless @user.terms_agreed %> @@ -168,7 +168,7 @@
<%= t ".read and accept with tou" %>
+<%= t ".read and accept with tou" %>
<%= t ".heading_ct" %>
<%= t ".contributor_terms_explain" %>
+<%= t ".contributor_terms_explain" %>
@@ -34,7 +34,7 @@+
<%= t ".guidance_html", :summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary", :translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %> @@ -50,7 +50,7 @@
<%= t "layouts.tou" %>
-<%= t ".tou_explain_html", :tou_link => link_to(t("layouts.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %>
+<%= t ".tou_explain_html", :tou_link => link_to(t("layouts.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %>