mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
Merge pull request #2010 from mlorb/ml-sci-3805
Add a team name to inventory item card [SCI-3805]
This commit is contained in:
commit
ffe06d5070
2 changed files with 17 additions and 3 deletions
|
@ -205,3 +205,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#repository_row-info-table {
|
||||
.fas {
|
||||
color: $color-silver-chalice;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,15 +50,23 @@
|
|||
<tr role="row">
|
||||
<td class="sorting_1">
|
||||
<ol class='breadcrumb'>
|
||||
<li><span class='fas fa-folder'></span>
|
||||
<li>
|
||||
<span class='fas fa-users'></span>
|
||||
<%= render partial: "search/results/partials/team_text.html.erb",
|
||||
locals: { team: element.my_module.experiment.project.team } %>
|
||||
</li>
|
||||
<li>
|
||||
<%= image_tag 'icon_small/project.svg' %>
|
||||
<%= render partial: 'search/results/partials/project_text.html.erb',
|
||||
locals: { project: element.my_module.experiment.project } %>
|
||||
</li>
|
||||
<li><i class='fas fa-flask'></i>
|
||||
<li>
|
||||
<%= image_tag 'icon_small/experiment.svg' %>
|
||||
<%= render partial: 'search/results/partials/experiment_text.html.erb',
|
||||
locals: { experiment: element.my_module.experiment } %>
|
||||
</li>
|
||||
<li><span class='fas fa-credit-card'></span>
|
||||
<li>
|
||||
<%= image_tag 'icon_small/task.svg' %>
|
||||
<%= render partial: 'search/results/partials/my_module_text.html.erb',
|
||||
locals: { my_module: element.my_module,
|
||||
link_to_page: :repositories,
|
||||
|
|
Loading…
Reference in a new issue