Skip to content

Commit

Permalink
Updated the UI for projects and subprojects
Browse files Browse the repository at this point in the history
  • Loading branch information
sab-LC committed Oct 16, 2024
1 parent 9ab4290 commit 27bef91
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions localcontexts/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1844,4 +1844,8 @@ i[data-tooltip]:hover:after {
visibility: visible;
background-color: #EF6C00;
color: #fff;
}

.right-auto {
right: auto !important
}
14 changes: 13 additions & 1 deletion templates/projects/project-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@
href="{% url 'view-project' project.unique_id %}"
{% endif %}
>
{{ project.title }}
<div class="flex-this row">
{% if project.source_project_uuid %}
<div class="btn-with-helptext mr-2p">
<i class="fa-regular fa-diagram-subtask"></i>
<span class="btn-help-text mr-55p right-auto">
This is a Sub project.
</span>
</div>
{% endif %}
<div>
{{ project.title }}
</div>
</div>
</a>
</td>
<td>
Expand Down

0 comments on commit 27bef91

Please sign in to comment.