Skip to content

Commit

Permalink
NBBIB-467 Contributor tremplate adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Oct 2, 2024
1 parent 7d85656 commit 9e61e4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions custom/modules/yabrm/templates/yabrm_contributor.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% if content %}
<div class="container">
<div class="row description-pic">
<div id="contrib-description" class="col-sm-8">
<div id="contrib-description" class="col-sm-8 order-sm-1 order-2">
{% if content.description|field_value %}
{{ content.description|field_value }}
{% endif %}
Expand Down Expand Up @@ -62,7 +62,7 @@
{%- endif -%}
{%- endif -%}
</div>
<div id="contrib-picture" class="col-sm-4 pl-4">
<div id="contrib-picture" class="col-sm-4 pl-4 order-sm-2 mb-2">
{% if content.picture|field_value or content.cover %}
<figure>
{% if content.picture|field_value %}
Expand Down Expand Up @@ -90,8 +90,8 @@
entry.
</p>
{%- endif -%}
<div id="ref-cite">
<a data-dialog-options="{&quot;width&quot;:500}" data-dialog-type="modal" href="/cite/contributor/{{ content.id }}" id="cite-open" class="use-ajax btn btn-secondary btn-sm fw-normal lh-lg float-end">
<div id="ref-cite" class="text-sm-end">
<a data-dialog-options="{&quot;width&quot;:500}" data-dialog-type="modal" href="/cite/contributor/{{ content.id }}" id="cite-open" class="use-ajax btn btn-secondary btn-sm fw-normal lh-lg">
Cite this page
</a>
</div>
Expand Down
1 change: 0 additions & 1 deletion custom/themes/bs5_nbbib_lib_unb_ca/src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ html {
body {
font-family: libre-franklin, arial, sans-serif !important;
font-weight: 500;
line-height: 140%;
font-size: 18px;
background-color: $light !important;
a {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% if content %}
<div class="container">
<div class="row description-pic">
<div id="contrib-description" class="col-sm-8">
<div id="contrib-description" class="col-sm-8 order-sm-1 order-2">
{% if content.description|field_value %}
{{ content.description|field_value }}
{% endif %}
Expand Down Expand Up @@ -62,7 +62,7 @@
{%- endif -%}
{%- endif -%}
</div>
<div id="contrib-picture" class="col-sm-4 pl-4">
<div id="contrib-picture" class="col-sm-4 pl-4 order-sm-2 mb-2">
{% if content.picture|field_value or content.cover %}
<figure>
{% if content.picture|field_value %}
Expand Down Expand Up @@ -90,8 +90,8 @@
entry.
</p>
{%- endif -%}
<div id="ref-cite">
<a data-dialog-options="{&quot;width&quot;:500}" data-dialog-type="modal" href="/cite/contributor/{{ content.id }}" id="cite-open" class="use-ajax btn btn-secondary btn-sm fw-normal lh-lg float-end">
<div id="ref-cite" class="text-sm-end">
<a data-dialog-options="{&quot;width&quot;:500}" data-dialog-type="modal" href="/cite/contributor/{{ content.id }}" id="cite-open" class="use-ajax btn btn-secondary btn-sm fw-normal lh-lg">
Cite this page
</a>
</div>
Expand Down

0 comments on commit 9e61e4e

Please sign in to comment.