From: Toshi MARUYAMA Date: Tue, 4 Jul 2017 04:00:23 +0000 (+0000) Subject: Replace tabs with spaces (#26333). X-Git-Tag: 4.0.0~659 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff257d05e34cd8eacef8ddb9053653d3621feb98;p=redmine.git Replace tabs with spaces (#26333). Patched by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16753 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 316b4e356..ca52786c4 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -354,7 +354,7 @@ class Mailer < ActionMailer::Base :subject => "[#{Setting.app_title}] #{l(:mail_subject_security_notification)}" end - # Notifies admins about settings changes + # Notifies admins about settings changes def self.security_settings_updated(changes) return unless changes.present? diff --git a/app/models/member.rb b/app/models/member.rb index 0e8fb1d47..f9e3f5679 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -31,7 +31,7 @@ class Member < ActiveRecord::Base scope :active, lambda { joins(:principal).where(:users => {:status => Principal::STATUS_ACTIVE})} - # Sort by first role and principal + # Sort by first role and principal scope :sorted, lambda { includes(:member_roles, :roles, :principal). reorder("#{Role.table_name}.position"). diff --git a/app/models/project.rb b/app/models/project.rb index 63eaf0077..7e4f4ce50 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -527,8 +527,8 @@ class Project < ActiveRecord::Base member end - # Default role that is given to non-admin users that - # create a project + # Default role that is given to non-admin users that + # create a project def self.default_member_role Role.givable.find_by_id(Setting.new_project_user_role_id.to_i) || Role.givable.first end diff --git a/app/models/setting.rb b/app/models/setting.rb index 102bc65e1..6e702505e 100644 --- a/app/models/setting.rb +++ b/app/models/setting.rb @@ -118,7 +118,7 @@ class Setting < ActiveRecord::Base setting.value end - # Updates multiple settings from params and sends a security notification if needed + # Updates multiple settings from params and sends a security notification if needed def self.set_all_from_params(settings) return nil unless settings.is_a?(Hash) settings = settings.dup.symbolize_keys diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index 798b3a2d0..118039d7e 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -173,11 +173,11 @@ -webkit-transform: scale(1,.8); -ms-transform: scale(1,.8); transform: scale(1,.8); - padding-top:8px; + padding-top:8px; } #project-jump .drdn-content { - position:absolute; + position:absolute; left:0px; top:64px; width:100%; @@ -186,7 +186,7 @@ } #project-jump .drdn-content .autocomplete { height:40px; - font-size:20px; + font-size:20px; } #project-jump .drdn-content a { padding:8px;