mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Add a team name to inventory item card
This commit is contained in:
parent
0810699770
commit
50c78f182c
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">
|
<tr role="row">
|
||||||
<td class="sorting_1">
|
<td class="sorting_1">
|
||||||
<ol class='breadcrumb'>
|
<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',
|
<%= render partial: 'search/results/partials/project_text.html.erb',
|
||||||
locals: { project: element.my_module.experiment.project } %>
|
locals: { project: element.my_module.experiment.project } %>
|
||||||
</li>
|
</li>
|
||||||
<li><i class='fas fa-flask'></i>
|
<li>
|
||||||
|
<%= image_tag 'icon_small/experiment.svg' %>
|
||||||
<%= render partial: 'search/results/partials/experiment_text.html.erb',
|
<%= render partial: 'search/results/partials/experiment_text.html.erb',
|
||||||
locals: { experiment: element.my_module.experiment } %>
|
locals: { experiment: element.my_module.experiment } %>
|
||||||
</li>
|
</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',
|
<%= render partial: 'search/results/partials/my_module_text.html.erb',
|
||||||
locals: { my_module: element.my_module,
|
locals: { my_module: element.my_module,
|
||||||
link_to_page: :repositories,
|
link_to_page: :repositories,
|
||||||
|
|
Loading…
Reference in a new issue