Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
86a355c0
You need to sign in or sign up before continuing.
Commit
86a355c0
authored
8 months ago
by
Tomi Valentová
Browse files
Options
Downloads
Patches
Plain Diff
fix names
parent
72521511
No related branches found
No related tags found
2 merge requests
!1105
fix names
,
!1104
fix names
Pipeline
#19372
passed
8 months ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/templates/styleguide2/includes/molecules/candidates/candidate_secondary_box.html
+60
-58
60 additions, 58 deletions
...ncludes/molecules/candidates/candidate_secondary_box.html
with
60 additions
and
58 deletions
shared/templates/styleguide2/includes/molecules/candidates/candidate_secondary_box.html
+
60
−
58
View file @
86a355c0
...
...
@@ -7,76 +7,78 @@
py-2 flex gap-6 items-center underline-offset-2
"
>
<div
class=
"font-bold text-xl w-8"
>
{{ self.number }}
</div>
{% with self.page.specific as specific_page %}
<div
class=
"font-bold text-xl w-8"
>
{{ self.number }}
</div>
<div
class=
"
flex font-bold justify-center items-center rounded-full w-12 shrink-0 grow-1
"
>
{% with self.page.specific.get_profile_image as profile_image %}
{% if profile_image %}
{% image profile_image fill-150x150 class="object-cover w-12 shrink-0 grow-1" %}
{% endif %}
{% endwith %}
</div>
<div
class=
"
flex gap-2 flex-col w-full
lg:gap-6 lg:flex-row
"
>
<h4
class=
"text-xl font-bold w-64"
>
{{ self.page.get_full_name }}
</h4>
<div
class=
"
flex font-bold justify-center items-center rounded-full w-12 shrink-0 grow-1
"
>
{% with specific_page.get_profile_image as profile_image %}
{% if profile_image %}
{% image profile_image fill-150x150 class="object-cover w-12 shrink-0 grow-1" %}
{% endif %}
{% endwith %}
</div>
<p
class=
"lg:ml-6"
>
{% if show_job and self.page.job %}
{{ self.page.job }}
{% elif self.page.position %}
{{ self.page.position }}
{% endif %}
</p>
<div
class=
"
flex gap-2 flex-col w-full
{% if self.page.is_pirate is not None %}
<div
class=
"
font-bold flex items-center gap-1
lg:gap-6 lg:flex-row
"
>
<h4
class=
"text-xl font-bold w-64"
>
{{ specific_page.get_full_name }}
</h4>
lg:ml-auto
"
>
{% if self.page.is_pirate %}
<img
class=
"w-8"
alt=
"Logo pirátské strany"
src=
"{% static "
styleguide2
/
images
/
logo-round-black.svg
"
%}"
>
<p
class=
"lg:ml-6"
>
{% if show_job and specific_page.job %}
{{ specific_page.job }}
{% elif specific_page.position %}
{{ specific_page.position }}
{% endif %}
</p>
<div>
Pirátská Strana
</div>
{% elif self.page.other_party %}
{% if self.page.other_party_logo %}
{% image self.page.other_party_logo fill-150x150 as other_party_logo_image %}
{% if specific_page.is_pirate is not None %}
<div
class=
"
font-bold flex items-center gap-1
lg:ml-auto
"
>
{% if specific_page.is_pirate %}
<img
class=
"w-8"
alt=
"Logo
{{ self.page.other_party }}
"
src=
"{
{ other_party_logo_image.url }
}"
alt=
"Logo
pirátské strany
"
src=
"{
% static "
styleguide2
/
images
/
logo-round-black.svg
"
%
}"
>
<div>
{{ self.page.other_party }}
Pirátská Strana
</div>
{% elif specific_page.other_party %}
{% if specific_page.other_party_logo %}
{% image specific_page.other_party_logo fill-150x150 as other_party_logo_image %}
<img
class=
"w-8"
alt=
"Logo {{ specific_page.other_party }}"
src=
"{{ other_party_logo_image.url }}"
>
<div>
{{ specific_page.other_party }}
</div>
{% endif %}
{% endif %}
{% endif %}
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
{% endwith %}
</a>
</li>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment