projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4084: Job display, log and buttons refresh using same mechanism as pipeline instances.
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
users
/
_manage_repositories.html.erb
diff --git
a/apps/workbench/app/views/users/_manage_repositories.html.erb
b/apps/workbench/app/views/users/_manage_repositories.html.erb
index 4f22ae9cd3a4e2e47d684133b953ea06730dd4fd..d20498f8c02bc1a932286d9e2f7bb73e690c8fec 100644
(file)
--- a/
apps/workbench/app/views/users/_manage_repositories.html.erb
+++ b/
apps/workbench/app/views/users/_manage_repositories.html.erb
@@
-22,15
+22,16
@@
</thead>
<tbody>
<% @my_repositories.andand.each do |repo| %>
</thead>
<tbody>
<% @my_repositories.andand.each do |repo| %>
+ <% writable = @repo_writable[repo.uuid] %>
<tr>
<td style="word-break:break-all;">
<%= repo[:name] %>
</td>
<td>
<tr>
<td style="word-break:break-all;">
<%= repo[:name] %>
</td>
<td>
- <%=
repo[:push_url]
? 'writable' : 'read-only' %>
+ <%=
writable
? 'writable' : 'read-only' %>
</td>
<td style="word-break:break-all;">
</td>
<td style="word-break:break-all;">
- <code><%= repo[:fetch_url] %></code>
+ <code><%=
writable ? repo[:push_url] :
repo[:fetch_url] %></code>
</td>
</tr>
<% end %>
</td>
</tr>
<% end %>