mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-12 01:11:24 +08:00
Add new icons also to the inventories list in navigation
This commit is contained in:
parent
7d4941015f
commit
26bd81621f
3 changed files with 11 additions and 5 deletions
|
|
@ -109,12 +109,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#repo-tree {
|
#repo-tree {
|
||||||
li .fas {
|
.fas-custom {
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 11pt;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
li:not(.active) {
|
.active {
|
||||||
color: $color-silver-chalice;
|
.fas-custom {
|
||||||
|
fill: $color-white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
width: 18px;
|
width: 18px;
|
||||||
|
|
||||||
path {
|
path {
|
||||||
|
cursor: auto;
|
||||||
fill: inherit;
|
fill: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,11 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if repository.shared_with?(current_team) %>
|
<% if repository.shared_with?(current_team) %>
|
||||||
<i class="fas fa-user-friends"></i>
|
<% if repository.team_repositories.where(team: current_team).take[:permission_level] == 'write' %>
|
||||||
|
<%= draw_custom_icon('shared-edit') %>
|
||||||
|
<% elsif repository.team_repositories.where(team: current_team).take[:permission_level] == 'read' %>
|
||||||
|
<%= draw_custom_icon('shared-read') %>
|
||||||
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue