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 indentation error in firewalls#index HAML view
Date Mon, 04 Mar 2013 13:24:21 GMT
Updated Branches:
  refs/heads/master 17b36ea35 -> 0453b923b


Core: Fixed indentation error in firewalls#index HAML view


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

Branch: refs/heads/master
Commit: 0453b923b7f4603c43c372ff51d164b8c8871491
Parents: 17b36ea
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Mon Mar 4 14:23:27 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Mon Mar 4 14:23:27 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/0453b923/server/views/firewalls/index.xml.haml
----------------------------------------------------------------------
diff --git a/server/views/firewalls/index.xml.haml b/server/views/firewalls/index.xml.haml
index 0de740e..6c5a908 100644
--- a/server/views/firewalls/index.xml.haml
+++ b/server/views/firewalls/index.xml.haml
@@ -15,14 +15,14 @@
       %rules
         - firewall.rules.each do |rule|
           %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]}
+            %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]}


Mime
View raw message