deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Core: Fixed another HAML indentation issue in firewalls#index
Date Mon, 04 Mar 2013 13:27:45 GMT
Updated Branches:
  refs/heads/master 0453b923b -> 1074bda3c


Core: Fixed another HAML indentation issue in firewalls#index


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/1074bda3
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/1074bda3
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/1074bda3

Branch: refs/heads/master
Commit: 1074bda3c9b111886540ea2c2df1b4ed00835edf
Parents: 0453b92
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Mon Mar 4 14:27:19 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Mon Mar 4 14:27:19 2013 +0100

----------------------------------------------------------------------
 server/views/firewalls/index.xml.haml |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/1074bda3/server/views/firewalls/index.xml.haml
----------------------------------------------------------------------
diff --git a/server/views/firewalls/index.xml.haml b/server/views/firewalls/index.xml.haml
index 6c5a908..53a9b6e 100644
--- a/server/views/firewalls/index.xml.haml
+++ b/server/views/firewalls/index.xml.haml
@@ -17,12 +17,12 @@
           %rule{:id => rule.id}
             %actions
               %link{ :rel => :rule, :href => "#{firewall_url(firewall.name)}/#{rule.id}",
:method => :delete, :id =>rule.id, :rel => :destroy }
-              - rule.attributes.select{|attr| attr != :sources && attr != :id}.each
do |rule_attrib|
-                - haml_tag("#{rule_attrib}".tr('-', '_'), :<) do
-                  - haml_concat rule.send(rule_attrib)
-              %sources
-                - rule.sources.each do |source|
-                  - if source[:type] == "group"
-                    %source{:name => source[:name], :type=> source[:type], :owner=>
source[:owner]}
-                  - else
-                    %source{:prefix => source[:prefix], :address=> source[:address],
:family=>source[:family], :type => source[:type]}
+            - rule.attributes.select{|attr| attr != :sources && attr != :id}.each
do |rule_attrib|
+              - haml_tag("#{rule_attrib}".tr('-', '_'), :<) do
+                - haml_concat rule.send(rule_attrib)
+            %sources
+              - rule.sources.each do |source|
+                - if source[:type] == "group"
+                  %source{:name => source[:name], :type=> source[:type], :owner=>
source[:owner]}
+                - else
+                  %source{:prefix => source[:prefix], :address=> source[:address],
:family=>source[:family], :type => source[:type]}


Mime
View raw message