You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/03/04 14:27:45 UTC

git commit: Core: Fixed another HAML indentation issue in firewalls#index

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 <mf...@redhat.com>
Authored: Mon Mar 4 14:27:19 2013 +0100
Committer: Michal fojtik <mf...@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]}