fixes #3346
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
<meta name="mobile-mode" content="<%= CurrentUser.mobile_mode? %>">
|
||||
<meta name="last-forum-read-at" content="<%= CurrentUser.user.last_forum_read_at %>">
|
||||
<meta name="disable-labeled-saved-searches" content="<%= CurrentUser.disable_categorized_saved_searches? %>">
|
||||
<%= content_tag(:meta, nil, name: "disable-mobile-gestures", content: CurrentUser.disable_mobile_gestures?) %>
|
||||
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
|
||||
<%= stylesheet_link_tag "application", :media => "screen" %>
|
||||
<% if CurrentUser.user.custom_style.present? %>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
<%= simple_form_for @user do |f| %>
|
||||
<h2 id="edit-options">
|
||||
<%= link_to "Basic settings", "#basic-settings", :class => "active" %>
|
||||
| <%= link_to "Advanced settings", "#advanced-settings" %>
|
||||
<%= link_to "Basic", "#basic-settings", :class => "active" %>
|
||||
| <%= link_to "Advanced", "#advanced-settings" %>
|
||||
<% if CurrentUser.user.id == @user.id %>
|
||||
| <%= link_to "Change password", edit_user_password_path(:user_id => @user.id), :id => "change-password" %>
|
||||
| <%= link_to "Delete account", maintenance_user_deletion_path, :id => "delete-account" %>
|
||||
@@ -74,6 +74,8 @@
|
||||
|
||||
<%= f.input :disable_tagged_filenames, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
|
||||
|
||||
<%= f.input :disable_mobile_gestures, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
|
||||
|
||||
<%#= f.input :disable_cropped_thumbnails, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
|
||||
|
||||
<div class="input text optional field_with_hint">
|
||||
|
||||
Reference in New Issue
Block a user