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 2010/11/29 10:57:25 UTC

svn commit: r1040050 - in /incubator/deltacloud/trunk/server: lib/deltacloud/models/key.rb views/keys/show.xml.haml

Author: mfojtik
Date: Mon Nov 29 09:57:25 2010
New Revision: 1040050

URL: http://svn.apache.org/viewvc?rev=1040050&view=rev
Log:
Added state to Key (AVAILABLE or DELETED)

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/models/key.rb
    incubator/deltacloud/trunk/server/views/keys/show.xml.haml

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/models/key.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/models/key.rb?rev=1040050&r1=1040049&r2=1040050&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/models/key.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/models/key.rb Mon Nov 29 09:57:25 2010
@@ -23,6 +23,7 @@ class Key < BaseModel
   attr_accessor :username
   attr_accessor :password
   attr_accessor :pem_rsa_key
+  attr_accessor :state
 
   def is_password?
     true if @credential_type.eql?(:password)

Modified: incubator/deltacloud/trunk/server/views/keys/show.xml.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/keys/show.xml.haml?rev=1040050&r1=1040049&r2=1040050&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/keys/show.xml.haml (original)
+++ incubator/deltacloud/trunk/server/views/keys/show.xml.haml Mon Nov 29 09:57:25 2010
@@ -17,3 +17,5 @@
     %password<
       =cdata do
         =@key.password
+  %state<
+    =@key.state