mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
improve resume course styles
This commit is contained in:
parent
2492a9281f
commit
c7ffb7062a
@ -27,14 +27,16 @@
|
|||||||
{{ activity.type.name | localize_translatable_string }}
|
{{ activity.type.name | localize_translatable_string }}
|
||||||
|
|
||||||
<ul class="small_in_title">
|
<ul class="small_in_title">
|
||||||
|
{% if activity.location and t.locationVisible %}
|
||||||
<li>
|
<li>
|
||||||
<abbr title="{{ 'location'|trans }}">{{ 'location'|trans ~ ': ' }}</abbr>
|
<span class="item-key">{{ 'location'|trans ~ ': ' }}</span>
|
||||||
{# TODO {% if activity.location %}{{ activity.location }}{% endif %} #}
|
<span>{{ activity.location.locationType.title|localize_translatable_string }}</span>
|
||||||
Domicile de l'usager
|
{{ activity.location.name }}
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% if activity.user and t.userVisible %}
|
{% if activity.user and t.userVisible %}
|
||||||
<li>
|
<li>
|
||||||
<abbr title="{{ 'Referrer'|trans }}">{{ 'Referrer'|trans ~ ': ' }}</abbr>
|
<span class="item-key">{{ 'Referrer'|trans ~ ': ' }}</span>
|
||||||
{{ activity.user.usernameCanonical }}
|
{{ activity.user.usernameCanonical }}
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -402,3 +402,11 @@ input.belgian_national_number {
|
|||||||
&.daily_counter {}
|
&.daily_counter {}
|
||||||
&.control_digit {}
|
&.control_digit {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// replace abbr
|
||||||
|
span.item-key {
|
||||||
|
font-variant: all-small-caps;
|
||||||
|
font-size: 90%;
|
||||||
|
background-color: #0000000a;
|
||||||
|
//text-decoration: dotted underline;
|
||||||
|
}
|
||||||
|
@ -60,6 +60,16 @@ h2.badge-title {
|
|||||||
h3 {
|
h3 {
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//position: relative;
|
||||||
|
span {
|
||||||
|
display: none;
|
||||||
|
//position: absolute;
|
||||||
|
//top: 0;
|
||||||
|
//left: 0;
|
||||||
|
//transform: rotate(270deg);
|
||||||
|
//transform-origin: 0 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
span.title_action {
|
span.title_action {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
///
|
///
|
||||||
|
|
||||||
@mixin chill_badge($color) {
|
@mixin chill_badge($color) {
|
||||||
text-transform: capitalize !important;
|
//text-transform: capitalize !important;
|
||||||
font-weight: 500 !important;
|
font-weight: 500 !important;
|
||||||
border-left: 20px groove $color;
|
border-left: 20px groove $color;
|
||||||
&:before {
|
&:before {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<i>{{ $t('course.open_at') }}{{ $d(accompanyingCourse.openingDate.datetime, 'text') }}</i>
|
<i>{{ $t('course.open_at') }}{{ $d(accompanyingCourse.openingDate.datetime, 'text') }}</i>
|
||||||
</span>
|
</span>
|
||||||
<span v-if="accompanyingCourse.user" class="d-md-block ms-3 ms-md-0">
|
<span v-if="accompanyingCourse.user" class="d-md-block ms-3 ms-md-0">
|
||||||
<abbr :title="$t('course.referrer')">{{ $t('course.referrer') }}:</abbr> <b>{{ accompanyingCourse.user.username }}</b>
|
<span class="item-key">{{ $t('course.referrer') }}:</span> <b>{{ accompanyingCourse.user.username }}</b>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
@ -3,20 +3,31 @@
|
|||||||
<a href="{{ chill_path_add_return_path('chill_person_accompanying_period_work_edit', { 'id': w.id }) }}"></a>
|
<a href="{{ chill_path_add_return_path('chill_person_accompanying_period_work_edit', { 'id': w.id }) }}"></a>
|
||||||
|
|
||||||
<h2 class="badge-title">
|
<h2 class="badge-title">
|
||||||
<span class="title_label">{{ 'accompanying_course_work.action'|trans }}</span>
|
<span class="title_label">
|
||||||
<span class="title_action">{{ w.socialAction|chill_entity_render_string }}
|
<span>{{ 'accompanying_course_work.action'|trans }}</span>
|
||||||
|
</span>
|
||||||
|
<span class="title_action">
|
||||||
|
{{ w.socialAction|chill_entity_render_string }}
|
||||||
|
|
||||||
<ul class="small_in_title">
|
<ul class="small_in_title">
|
||||||
<li>
|
<li>
|
||||||
<abbr title="{{ 'accompanying_course_work.start_date'|trans }}">{{ 'accompanying_course_work.start_date'|trans ~ ' : ' }}</abbr>
|
<span class="item-key">{{ 'accompanying_course_work.start_date'|trans ~ ' : ' }}</span>
|
||||||
{{ w.startDate|format_date('short') }}
|
<b>{{ w.startDate|format_date('short') }}</b>
|
||||||
</li>
|
</li>
|
||||||
|
{% if w.endDate %}
|
||||||
<li>
|
<li>
|
||||||
<abbr title="{{ 'Last updated by'|trans }}">{{ 'Last updated by'|trans ~ ' : ' }}</abbr>
|
<span class="item-key">{{ 'accompanying_course_work.end_date'|trans ~ ' : ' }}</span>
|
||||||
{{ w.updatedBy|chill_entity_render_box }}, {{ w.updatedAt|format_datetime('short', 'short') }}
|
<b>{{ w.endDate|format_date('short') }}</b>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<div class="metadata text-end" style="font-size: 60%">
|
||||||
|
{{ 'Last updated by'|trans }}
|
||||||
|
<span class="user">{{ w.updatedBy|chill_entity_render_box }}</span>:
|
||||||
|
<span class="date">{{ w.updatedAt|format_datetime('short', 'short') }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user