3193: minor ui updates
authorradhika <radhika@curoverse.com>
Wed, 30 Jul 2014 20:53:50 +0000 (16:53 -0400)
committerradhika <radhika@curoverse.com>
Wed, 30 Jul 2014 20:53:50 +0000 (16:53 -0400)
apps/workbench/app/views/users/_manage_repositories.html.erb

index 33746be7eabcc825ebac501eeddeb73fe7361055..037d44342629d7c776f80447249ea02d2617e2f1 100644 (file)
@@ -13,7 +13,7 @@
     <thead>
       <tr>
         <th> Name </th>
-        <th> Writable </th>
+        <th> Read/Write </th>
         <th> URL </th>
       </tr>
     </thead>
@@ -24,7 +24,7 @@
             <%= repo[:name] %>
           </td>
           <td>
-            <%= repo[:push_url] != nil %>
+            <%= repo[:push_url] ? 'writable' : 'read-only' %>
           </td>
           <td style="word-break:break-all;">
             <code><%= repo[:fetch_url] %></code>