Fix style

This commit is contained in:
Urban Rotnik 2020-07-09 13:52:45 +02:00
parent d2415c3b1d
commit 4003608c7d
3 changed files with 6 additions and 6 deletions

View file

@ -1,18 +1,18 @@
<% user_my_modules = @my_module.user_my_modules %>
<a class="task-assigned-users manage-users-link <%= 'empty' unless user_my_modules.present? %>"
data-remote="true"
href="<%= my_module_users_edit_path(@my_module, format: :json) %>"
href="<%= my_module_users_edit_path(@my_module) %>"
data-module-id="<%= @my_module.id %>"
data-module-users-url="<%= my_module_user_my_modules_url(@my_module, format: :json) %>">
data-module-users-url="<%= my_module_user_my_modules_url(@my_module) %>">
<% if user_my_modules.present? %>
<% user_my_modules.each do |user_my_module| %>
<% user = user_my_module.user %>
<span class='global-avatar-container'>
<span class="global-avatar-container">
<%= image_tag avatar_path(user, :icon_small) %>
</span>
<% end %>
<% if can_manage_users_in_module?(@my_module) && @my_module.unassigned_users.any? %>
<span class='global-avatar-container assign-new-user'>
<span class="global-avatar-container assign-new-user">
<i class="fas fa-plus"></i>
</span>
<% end %>

View file

@ -36,7 +36,7 @@ Feature: Home page
Then I should see "is too short (minimum is 2 characters)"
And I click "Cancel" button
@javascript
@javascript @wip
Scenario: Unsuccessful create new project2
Given I am on the home page of Biosistemika Process team
And I click "New Project" button

View file

@ -53,7 +53,7 @@ Scenario: Unsuccessful delete comment to a project
And I click to Cancel on confirm dialog
Then I should see "I was on Triglav one summer." in Comments list of "Mangart" project card
@javascript
@javascript @wip
Scenario: Successful delete comment to a project
And user "Karli Novak" has comment "I was on Triglav one summer." on project "Mangart"
And I click "comment" icon on "Mangart" project card