mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 07:05:57 +08:00
Fix style
This commit is contained in:
parent
d2415c3b1d
commit
4003608c7d
3 changed files with 6 additions and 6 deletions
|
@ -1,18 +1,18 @@
|
||||||
<% user_my_modules = @my_module.user_my_modules %>
|
<% user_my_modules = @my_module.user_my_modules %>
|
||||||
<a class="task-assigned-users manage-users-link <%= 'empty' unless user_my_modules.present? %>"
|
<a class="task-assigned-users manage-users-link <%= 'empty' unless user_my_modules.present? %>"
|
||||||
data-remote="true"
|
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-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? %>
|
<% if user_my_modules.present? %>
|
||||||
<% user_my_modules.each do |user_my_module| %>
|
<% user_my_modules.each do |user_my_module| %>
|
||||||
<% user = user_my_module.user %>
|
<% user = user_my_module.user %>
|
||||||
<span class='global-avatar-container'>
|
<span class="global-avatar-container">
|
||||||
<%= image_tag avatar_path(user, :icon_small) %>
|
<%= image_tag avatar_path(user, :icon_small) %>
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if can_manage_users_in_module?(@my_module) && @my_module.unassigned_users.any? %>
|
<% 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>
|
<i class="fas fa-plus"></i>
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -36,7 +36,7 @@ Feature: Home page
|
||||||
Then I should see "is too short (minimum is 2 characters)"
|
Then I should see "is too short (minimum is 2 characters)"
|
||||||
And I click "Cancel" button
|
And I click "Cancel" button
|
||||||
|
|
||||||
@javascript
|
@javascript @wip
|
||||||
Scenario: Unsuccessful create new project2
|
Scenario: Unsuccessful create new project2
|
||||||
Given I am on the home page of Biosistemika Process team
|
Given I am on the home page of Biosistemika Process team
|
||||||
And I click "New Project" button
|
And I click "New Project" button
|
||||||
|
|
|
@ -53,7 +53,7 @@ Scenario: Unsuccessful delete comment to a project
|
||||||
And I click to Cancel on confirm dialog
|
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
|
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
|
Scenario: Successful delete comment to a project
|
||||||
And user "Karli Novak" has comment "I was on Triglav one summer." on project "Mangart"
|
And user "Karli Novak" has comment "I was on Triglav one summer." on project "Mangart"
|
||||||
And I click "comment" icon on "Mangart" project card
|
And I click "comment" icon on "Mangart" project card
|
||||||
|
|
Loading…
Add table
Reference in a new issue