Merge pull request #918 from cachethq/fix-email-snakecase

Fix email templates snakecase
This commit is contained in:
Graham Campbell
2015-08-17 22:06:40 +01:00
8 changed files with 37 additions and 37 deletions
@@ -14,13 +14,13 @@
</p>
<p>
{!! $htmlContent !!}
{!! $html_content !!}
</p>
@if(Setting::get('show_support'))
<p>{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}</p>
@endif
<p>
<small><a href="{{ $unsubscribeLink }}">{!! trans('cachet.subscriber.email.unsubscribe') !!}</a></small>
<small><a href="{{ $unsubscribe_link }}">{!! trans('cachet.subscriber.email.unsubscribe') !!}</a></small>
</p>
@stop
@@ -4,10 +4,10 @@
{!! $status !!}
{!! $textContent !!}
{!! $text_content !!}
@if(Setting::get('show_support'))
{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}
@endif
{!! trans('cachet.subscriber.email.unsubscribe') !!} {{ $unsubscribeLink }}
{!! trans('cachet.subscriber.email.unsubscribe') !!} {{ $unsubscribe_link }}
@@ -9,19 +9,19 @@
<p>
{!! $status !!}
@if($hasComponent)
({{ $componentName }})
@if($has_component)
({{ $component_name }})
@endif
</p>
<p>
{!! $htmlContent !!}
{!! $html_content !!}
</p>
@if(Setting::get('show_support'))
<p>{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}</p>
@endif
<p>
<small><a href="{{ $unsubscribeLink }}">{!! trans('cachet.subscriber.email.unsubscribe') !!}</a></small>
<small><a href="{{ $unsubscribe_link }}">{!! trans('cachet.subscriber.email.unsubscribe') !!}</a></small>
</p>
@stop
@@ -1,14 +1,14 @@
{!! trans('cachet.subscriber.email.incident.text', ['app_name' => Setting::get('app_name')]) !!}
{!! $status !!}
@if($hasComponent)
({{ $componentName }})
@if($has_component)
({{ $component_name }})
@endif
{!! $textContent !!}
{!! $text_content !!}
@if(Setting::get('show_support'))
{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}
@endif
{!! trans('cachet.subscriber.email.unsuscribe') !!} {{ $unsubscribeLink }}
{!! trans('cachet.subscriber.email.unsuscribe') !!} {{ $unsubscribe_link }}
+2 -2
View File
@@ -13,13 +13,13 @@
<tr>
<td align="center" valign="top" class="body-cell">
<table width="544" border="0" cellpadding="0" cellspacing="0" class="box">
@if($bannerImage = Setting::get('app_banner'))
@if($banner_image = Setting::get('app_banner'))
<tr>
<td class="header">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="header-logo">
<a href="{{ $app_url }}"><img src="data:{{ Setting::get('app_banner_type') }};base64, {{ $bannerImage}}"></a>
<a href="{{ $app_url }}"><img src="data:{{ Setting::get('app_banner_type') }};base64, {{ $banner_image}}"></a>
</td>
</tr>
</table>