i18n app/views/campaigns/_campaign_media.html.erb
This commit is contained in:
parent
1c10729648
commit
b52b72af34
2 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
||||
<div class='u-marginBottom--15 u-relative'>
|
||||
<% has_video = @campaign.vimeo_video_id || @campaign.youtube_video_id %>
|
||||
<% text = has_video ? "Edit Video" : "Add Video" %>
|
||||
<% text = has_video ? t('campaigns.admin.edit_video') : t('campaigns.admin.add_video') %>
|
||||
|
||||
<% if @campaign.vimeo_video_id %>
|
||||
<div class='campaignMedia-video' if-branded='background, lightest'>
|
||||
|
|
|
@ -44,3 +44,5 @@ en:
|
|||
campaign_id: "Campaign ID: %{id}"
|
||||
for_super_admin: "For super admin:"
|
||||
np_and_campaign_ids: "NP: %{np_id} - Campaign ID: %{campaign_id}"
|
||||
add_video: Add Video
|
||||
edit_video: Edit Video
|
||||
|
|
Loading…
Reference in a new issue