Skip to content
Snippets Groups Projects
Commit 1dc34c4a authored by Arnaud Levy's avatar Arnaud Levy
Browse files

button if url only

parent 5b06b5cf
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<%= link_to website.university, [:server, website.university] %> <%= link_to website.university, [:server, website.university] %>
</td> </td>
<td> <td>
<%= link_to "Sync version", refresh_server_website_path(website), method: :post, class: button_classes %> <%= link_to "Sync version", refresh_server_website_path(website), method: :post, class: button_classes if website.url.present? %>
</td> </td>
</tr> </tr>
<% end %> <% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment