You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/02/28 20:31:25 UTC

[whimsy.git] [1/1] Commit f84271b: Tab police

Commit f84271bec87905944a9cc87c578af2fd88916291:
    Tab police


Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>

------------------------------------------------------------
www/board/agenda/views/models/agenda.js.rb                   | + -
www/board/agenda/views/pages/index.js.rb                     | +++++ -----
www/secmail/models/message.rb                                | + -
www/secmail/views/parts.html.rb                              | +++++++ -------
------------------------------------------------------------
50 changes: 25 additions, 25 deletions.
------------------------------------------------------------


diff --git a/www/board/agenda/views/models/agenda.js.rb b/www/board/agenda/views/models/agenda.js.rb
index 7440596..14a40a2 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -248,7 +248,7 @@ def self.next
       date = agenda[/(\d+_\d+_\d+)/, 1].gsub('_', '-')
 
       if date > @@date and (result.title == 'Help' or date < result.title)
-	      result = {title: date, href: "../#{date}/"}
+        result = {title: date, href: "../#{date}/"}
       end
     end
 
diff --git a/www/board/agenda/views/pages/index.js.rb b/www/board/agenda/views/pages/index.js.rb
index 0c65f7e..a3e0a29 100644
--- a/www/board/agenda/views/pages/index.js.rb
+++ b/www/board/agenda/views/pages/index.js.rb
@@ -10,19 +10,19 @@ def render
 
     _table.table_bordered do
       _thead do
-	      _th 'Attach'
-	      _th 'Title'
-	      _th 'Owner'
-	      _th 'Shepherd'
+        _th 'Attach'
+        _th 'Title'
+        _th 'Owner'
+        _th 'Shepherd'
       end
 
       _tbody Agenda.index do |row|
-	      _tr class: row.color do
-	        _td row.attach
-	        _td { _Link text: row.title, href: row.href }
-	        _td row.owner
-	        _td row.shepherd
-	      end
+        _tr class: row.color do
+          _td row.attach
+          _td { _Link text: row.title, href: row.href }
+          _td row.owner
+          _td row.shepherd
+        end
       end
     end
   end
diff --git a/www/secmail/models/message.rb b/www/secmail/models/message.rb
index 01b1d73..2e048d7 100644
--- a/www/secmail/models/message.rb
+++ b/www/secmail/models/message.rb
@@ -140,7 +140,7 @@ def write_svn(repos, filename, *attachments)
     else
       # validate filename
       unless filename =~ /\A[a-zA-Z][-.\w]+\Z/
-	      raise IOError.new("invalid filename: #{filename}")
+        raise IOError.new("invalid filename: #{filename}")
       end
 
       # ensure directory doesn't exist
diff --git a/www/secmail/views/parts.html.rb b/www/secmail/views/parts.html.rb
index ac502ca..47379bf 100644
--- a/www/secmail/views/parts.html.rb
+++ b/www/secmail/views/parts.html.rb
@@ -21,7 +21,7 @@
   _ul do
     _li do
       _a 'Response time', target: 'content',
-	href: 'https://whimsy.apache.org/secretary/response-time'
+        href: 'https://whimsy.apache.org/secretary/response-time'
     end
     _li do
       _a 'Mail Search', target: 'content',
@@ -33,51 +33,51 @@
     end
     _li do
       _a 'Committers by id', target: 'content',
-	href: 'http://people.apache.org/committer-index.html'
+        href: 'http://people.apache.org/committer-index.html'
     end
     _li do
       _a 'ICLAs', target: 'content',
-	href: 'https://svn.apache.org/repos/private/documents/iclas'
+        href: 'https://svn.apache.org/repos/private/documents/iclas'
     end
     _li do
       _a 'CCLAs', target: 'content',
-	href: 'https://svn.apache.org/repos/private/documents/cclas'
+        href: 'https://svn.apache.org/repos/private/documents/cclas'
     end
     _li do
       _a 'Grants', target: 'content',
-	href: 'https://svn.apache.org/repos/private/documents/grants'
+        href: 'https://svn.apache.org/repos/private/documents/grants'
     end
     _li do
       _a 'Incubator', target: 'content',
-	href: 'http://incubator.apache.org'
+        href: 'http://incubator.apache.org'
     end
     _li do
       _a 'Project Proposals', target: 'content',
-	href: 'https://wiki.apache.org/incubator/ProjectProposals'
+        href: 'https://wiki.apache.org/incubator/ProjectProposals'
     end
     _li do
       _a 'ICLA lint', target: 'content',
-	href: 'https://whimsy.apache.org/secretary/icla-lint'
+        href: 'https://whimsy.apache.org/secretary/icla-lint'
     end
     _li do
       _a 'Public names', target: 'content',
-	href: 'https://whimsy.apache.org/secretary/public-names'
+        href: 'https://whimsy.apache.org/secretary/public-names'
     end
     _li do
       _a 'Board subscriptions', target: 'content',
-	href: 'https://whimsy.apache.org/board/subscriptions/'
+        href: 'https://whimsy.apache.org/board/subscriptions/'
     end
     _li do
       _a 'Mail aliases', target: 'content',
-	href: 'https://id.apache.org/info/MailAlias.txt'
+        href: 'https://id.apache.org/info/MailAlias.txt'
     end
     _li do
       _a 'Member list', target: 'content',
-	href: 'https://svn.apache.org/repos/private/foundation/members.txt'
+        href: 'https://svn.apache.org/repos/private/foundation/members.txt'
     end
     _li do
       _a 'How to use this tool', href: 'HOWTO.html',
-	target: 'content'
+        target: 'content'
     end
     if File.exist? '/var/tools/secretary/secmail'
       _li {_p {_hr}}