You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2012/09/18 00:15:41 UTC

svn commit: r1386874 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/redback/user-edit.html

Author: olamy
Date: Mon Sep 17 22:15:41 2012
New Revision: 1386874

URL: http://svn.apache.org/viewvc?rev=1386874&view=rev
Log:
it must be possible lock admin account!

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/redback/user-edit.html

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/redback/user-edit.html
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/redback/user-edit.html?rev=1386874&r1=1386873&r2=1386874&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/redback/user-edit.html (original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/redback/user-edit.html Mon Sep 17 22:15:41 2012
@@ -198,9 +198,7 @@
               </a>
             </td>
           {{/if}}
-          {{if row.username()=="admin"}}
-            <td></td>
-          {{else}}
+
             {{if row.locked()==true}}
               <td>
                 <a href="#" data-bind="click: function(){ unlock(row) }"><img src="images/system-lock-screen-22-22.png"/></a>
@@ -210,7 +208,7 @@
                 <a href="#" data-bind="click: function(){ lock(row) }"><img src="images/weather-clear-22-22.png"/></a>
               </td>
             {{/if}}
-          {{/if}}
+
           {{if row.username()=="admin"}}
             <td></td>
           {{else}}