Merge pull request #2010 from mlorb/ml-sci-3805

Add a team name to inventory item card [SCI-3805]
This commit is contained in:
mlorb 2019-08-26 11:29:12 +02:00 committed by GitHub
commit ffe06d5070
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 3 deletions

View file

@ -205,3 +205,9 @@
}
}
}
#repository_row-info-table {
.fas {
color: $color-silver-chalice;
}
}

View file

@ -50,15 +50,23 @@
<tr role="row">
<td class="sorting_1">
<ol class='breadcrumb'>
<li><span class='fas fa-folder'></span>&nbsp;
<li>
<span class='fas fa-users'></span>&nbsp;
<%= 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>&nbsp;
<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>&nbsp;
<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,