Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Allow fundraiser template to receive custom title
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrei committed Nov 29, 2016
1 parent f479ff1 commit 4b5a1a6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/views/plugins/fundraisers/_fundraiser.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
<div class="overlay-toggle__mobile-ui">
<a class="overlay-toggle__close-button">&#x2715;</a>
</div>
<h2>{{ plugins.fundraiser[ref].title }}</h2>
<h2>
{% if title_i18n_key %}
{{ title_i18n_key | t }}
{% else %}
{{ plugins.fundraiser[ref].title }}
{% endif %}
</h2>
<div class="fundraiser-bar__steps script-dependent">
<hr class="fundraiser-bar__step-connector" />
<div class="fundraiser-bar__step-label" data-step="1">
Expand Down

0 comments on commit 4b5a1a6

Please sign in to comment.