settings: rename "disable responsive mode" to "enable desktop mode"
Desktop mode is a better description. Most users don't know what responsive mode means.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<% end %>
|
||||
|
||||
<%= csrf_meta_tag %>
|
||||
<% unless CurrentUser.disable_responsive_mode? %>
|
||||
<% unless CurrentUser.enable_desktop_mode? %>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<% end %>
|
||||
<% if CurrentUser.user.blacklisted_tags.present? %>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<% if CurrentUser.is_member? %>
|
||||
<span id="desktop-version-link" class="mobile-only">
|
||||
–
|
||||
<%= link_to "Disable responsive mode", edit_user_path(CurrentUser.id) %>
|
||||
<%= link_to "Desktop mode", edit_user_path(CurrentUser.id) %>
|
||||
</span>
|
||||
<% end %>
|
||||
</footer>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
<%= f.input :disable_mobile_gestures, :as => :select, :hint => "Disable swipe left / swipe right gestures on mobile", :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
|
||||
<%= f.input :disable_post_tooltips, :as => :select, :hint => "Disable advanced tooltips when hovering over thumbnails", :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
|
||||
<%= f.input :disable_cropped_thumbnails, :as => :select, :hint => "Disable cropped (square) thumbnails on mobile", :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
|
||||
<%= f.input :disable_responsive_mode, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false, :hint => "Disable alternative layout for mobile and tablet" %>
|
||||
<%= f.input :enable_desktop_mode, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false, :hint => "Use the desktop layout on mobile" %>
|
||||
|
||||
<%= f.input :favorite_tags, :label => "Frequent tags", :hint => "A list of tags that you use often. They will appear when using the list of Related Tags.", :input_html => { :rows => 5, :data => { :autocomplete => "tag-query" } } %>
|
||||
<%= f.input :custom_style, :label => "Custom <a href='https://en.wikipedia.org/wiki/Cascading_Style_Sheets'>CSS</a> style".html_safe, :hint => "CSS rules to apply to the whole site.", :input_html => {:size => "40x5"} %>
|
||||
|
||||
Reference in New Issue
Block a user