From 2dedaf66381e82f6d2ace81d20d463ab74a9bc73 Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Mon, 26 Dec 2016 07:50:13 -0800 Subject: [PATCH] #25: Upgraded email templates to use Foundation for Emails. They're now 200% prettier. <3 --- .gitignore | 2 +- README.md | 23 +++-- app/Commands/EditTrackCommand.php | 1 - .../Notifications/Drivers/PonyfmDriver.php | 5 ++ app/Mail/BaseNotification.php | 7 +- app/Mail/ContentFavourited.php | 2 + app/Mail/NewComment.php | 2 + app/Mail/NewFollower.php | 1 + app/Mail/NewTrack.php | 1 + app/Models/Activity.php | 26 +++--- gulpfile.js | 88 ++++++++++--------- package.json | 4 +- resources/emails/src/layouts/index-layout.hbs | 30 ------- resources/emails/src/layouts/notification.hbs | 51 +++++++++++ .../emails/src/pages/basic.blade.php.hbs | 51 ----------- resources/emails/src/pages/drip.blade.php.hbs | 60 ------------- resources/emails/src/pages/hero.blade.php.hbs | 65 -------------- .../emails/src/pages/index.blade.php.hbs | 55 ------------ .../emails/src/pages/marketing.blade.php.hbs | 81 ----------------- .../src/pages/newsletter-2.blade.php.hbs | 43 --------- .../emails/src/pages/newsletter.blade.php.hbs | 44 ---------- .../content-favourited.blade.php.hbs | 32 +++++++ .../new-comment-content.blade.php.hbs | 31 +++++++ .../new-comment-profile.blade.php.hbs | 30 +++++++ .../notifications/new-follower.blade.php.hbs | 23 +++++ .../notifications/new-playlist.blade.php.hbs | 30 +++++++ .../notifications/new-track.blade.php.hbs | 30 +++++++ .../emails/src/pages/order.blade.php.hbs | 86 ------------------ .../emails/src/pages/password.blade.php.hbs | 40 --------- .../src/pages/sidebar-hero.blade.php.hbs | 80 ----------------- .../emails/src/pages/sidebar.blade.php.hbs | 70 --------------- .../emails/src/pages/welcome.blade.php.hbs | 51 ----------- .../emails/notifications/_layout.blade.php | 13 --- .../content-favourited.blade.php | 9 -- .../new-comment-content.blade.php | 9 -- .../new-comment-profile.blade.php | 9 -- .../notifications/new-follower.blade.php | 9 -- .../notifications/new-playlist.blade.php | 8 -- .../emails/notifications/new-track.blade.php | 8 -- .../notifications/_layout.blade.php} | 0 .../content-favourited.blade.php} | 2 +- .../new-comment-content.blade.php} | 2 +- .../new-comment-profile.blade.php} | 2 +- .../notifications/new-follower.blade.php} | 2 +- .../notifications/new-playlist.blade.php} | 2 +- .../notifications/new-track.blade.php} | 2 +- 46 files changed, 331 insertions(+), 891 deletions(-) delete mode 100644 resources/emails/src/layouts/index-layout.hbs create mode 100644 resources/emails/src/layouts/notification.hbs delete mode 100644 resources/emails/src/pages/basic.blade.php.hbs delete mode 100644 resources/emails/src/pages/drip.blade.php.hbs delete mode 100644 resources/emails/src/pages/hero.blade.php.hbs delete mode 100644 resources/emails/src/pages/index.blade.php.hbs delete mode 100644 resources/emails/src/pages/marketing.blade.php.hbs delete mode 100644 resources/emails/src/pages/newsletter-2.blade.php.hbs delete mode 100644 resources/emails/src/pages/newsletter.blade.php.hbs create mode 100644 resources/emails/src/pages/notifications/content-favourited.blade.php.hbs create mode 100644 resources/emails/src/pages/notifications/new-comment-content.blade.php.hbs create mode 100644 resources/emails/src/pages/notifications/new-comment-profile.blade.php.hbs create mode 100644 resources/emails/src/pages/notifications/new-follower.blade.php.hbs create mode 100644 resources/emails/src/pages/notifications/new-playlist.blade.php.hbs create mode 100644 resources/emails/src/pages/notifications/new-track.blade.php.hbs delete mode 100644 resources/emails/src/pages/order.blade.php.hbs delete mode 100644 resources/emails/src/pages/password.blade.php.hbs delete mode 100644 resources/emails/src/pages/sidebar-hero.blade.php.hbs delete mode 100644 resources/emails/src/pages/sidebar.blade.php.hbs delete mode 100644 resources/emails/src/pages/welcome.blade.php.hbs delete mode 100644 resources/views/emails/notifications/_layout.blade.php delete mode 100644 resources/views/emails/notifications/content-favourited.blade.php delete mode 100644 resources/views/emails/notifications/new-comment-content.blade.php delete mode 100644 resources/views/emails/notifications/new-comment-profile.blade.php delete mode 100644 resources/views/emails/notifications/new-follower.blade.php delete mode 100644 resources/views/emails/notifications/new-playlist.blade.php delete mode 100644 resources/views/emails/notifications/new-track.blade.php rename resources/views/emails/{notifications/_layout_plaintext.blade.php => plaintext/notifications/_layout.blade.php} (100%) rename resources/views/emails/{notifications/content-favourited_plaintext.blade.php => plaintext/notifications/content-favourited.blade.php} (78%) rename resources/views/emails/{notifications/new-comment-content_plaintext.blade.php => plaintext/notifications/new-comment-content.blade.php} (79%) rename resources/views/emails/{notifications/new-comment-profile_plaintext.blade.php => plaintext/notifications/new-comment-profile.blade.php} (78%) rename resources/views/emails/{notifications/new-follower_plaintext.blade.php => plaintext/notifications/new-follower.blade.php} (74%) rename resources/views/emails/{notifications/new-playlist_plaintext.blade.php => plaintext/notifications/new-playlist.blade.php} (75%) rename resources/views/emails/{notifications/new-track_plaintext.blade.php => plaintext/notifications/new-track.blade.php} (74%) diff --git a/.gitignore b/.gitignore index 9691719e..fde04a84 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,4 @@ Homestead.yaml .vagrant _ide_helper.php .idea -resources/views/emails/build +resources/views/emails/html diff --git a/README.md b/README.md index 74d67886..f77b7268 100644 --- a/README.md +++ b/README.md @@ -70,18 +70,29 @@ Finally, to compile and serve the assets in real time, run the following (and le gulp watch -### Email templates +### Developing email templates Pony.fm's email templates are based on the Sass version of -[ZURB's Foundation for Emails](http://foundation.zurb.com/emails/docs/index.html). -framework. This framework takes most of the pain out of HTML email markup - see -their site for the full documentation. +[ZURB's Foundation for Emails](http://foundation.zurb.com/emails/docs/index.html) +framework, including their "Inky" markup language. This tooling takes the pain +out of HTML email markup - see their site for the full documentation. -Email templates live in [the `resources/emails/src` directory](resources/emails/src). -Note that they are Handlebars templates which compile into Blade templates - +Email templates live in two directories: + +- [`resources/emails/src`](resources/emails/src), for HTML emails +- [`resources/views/emails/plaintext`](resources/views/emails/plaintext), for plaintext emails + +**Be aware that plaintext emails are vanilla Blade templates!** Foundation is only used for HTML emails. + +HTML emails are marked up as Handlebars templates which compile into Blade templates - Pony.fm's asset pipeline automatically does this for you. Variables meant for Blade need to be escaped with a backslash in the `.hbs` files (like so: `\{{ $myVariableName }}`). +During development, email templates will also be written to `public/build/emails` +to save you from resending emails to see how they look. For example, if you're +working on the "new track notification" template, you'll be able to view it in your browser at +[http://ponyfm-dev.poni/build/emails/notifications/new-track.blade.php.html](http://ponyfm-dev.poni/build/emails/notifications/new-track.blade.php.html). + Configuring the servers ----------------------- diff --git a/app/Commands/EditTrackCommand.php b/app/Commands/EditTrackCommand.php index 5a5f327e..4c696dc0 100644 --- a/app/Commands/EditTrackCommand.php +++ b/app/Commands/EditTrackCommand.php @@ -195,7 +195,6 @@ class EditTrackCommand extends CommandBase } } } - return CommandResponse::succeed(['real_cover_url' => $track->getCoverUrl(Image::NORMAL)]); } diff --git a/app/Library/Notifications/Drivers/PonyfmDriver.php b/app/Library/Notifications/Drivers/PonyfmDriver.php index b4d1eaad..bc32174f 100644 --- a/app/Library/Notifications/Drivers/PonyfmDriver.php +++ b/app/Library/Notifications/Drivers/PonyfmDriver.php @@ -76,6 +76,11 @@ class PonyfmDriver extends AbstractDriver */ public function publishedNewTrack(Track $track) { + // Grabbing a fresh copy of the track here ensures that, if cover art + // was changed from the default, that the updated cover art is used + // in notification emails. + $track = $track->fresh(); + $activity = Activity::create([ 'created_at' => Carbon::now(), 'user_id' => $track->user_id, diff --git a/app/Mail/BaseNotification.php b/app/Mail/BaseNotification.php index ff50a252..0180a7df 100644 --- a/app/Mail/BaseNotification.php +++ b/app/Mail/BaseNotification.php @@ -123,11 +123,12 @@ abstract class BaseNotification extends Mailable { protected function renderEmail(string $templateName, string $subject, array $extraVariables) { return $this ->subject($subject) - ->view("emails.notifications.{$templateName}") - ->text("emails.notifications.{$templateName}_plaintext") + ->view("emails.html.notifications.{$templateName}") + ->text("emails.plaintext.notifications.{$templateName}") ->with(array_merge($extraVariables, [ 'notificationUrl' => $this->generateNotificationUrl(), - 'unsubscribeUrl' => $this->generateUnsubscribeUrl() + 'unsubscribeUrl' => $this->generateUnsubscribeUrl(), + 'thumbnailUrl' => $this->activityRecord->thumbnail_url ])); } } diff --git a/app/Mail/ContentFavourited.php b/app/Mail/ContentFavourited.php index 21e07641..9ed21f17 100644 --- a/app/Mail/ContentFavourited.php +++ b/app/Mail/ContentFavourited.php @@ -33,6 +33,8 @@ class ContentFavourited extends BaseNotification 'content-favourited', $this->activityRecord->text, [ 'creatorName' => $creatorName, + 'creatorBio' => $this->initiatingUser->bio, + 'creatorUrl' => $this->initiatingUser->url, 'resourceType' => $this->activityRecord->getResourceTypeString(), 'resourceTitle' => $this->activityRecord->resource->title, ]); diff --git a/app/Mail/NewComment.php b/app/Mail/NewComment.php index 00fbf956..104578ab 100644 --- a/app/Mail/NewComment.php +++ b/app/Mail/NewComment.php @@ -37,6 +37,7 @@ class NewComment extends BaseNotification 'new-comment-profile', $this->activityRecord->text, [ 'creatorName' => $creatorName, + 'comment' => $this->activityRecord->resource->content, ]); } else { return $this->renderEmail( @@ -45,6 +46,7 @@ class NewComment extends BaseNotification 'creatorName' => $creatorName, 'resourceType' => $this->activityRecord->getResourceTypeString(), 'resourceTitle' => $this->activityRecord->resource->resource->title, + 'comment' => $this->activityRecord->resource->content, ]); } diff --git a/app/Mail/NewFollower.php b/app/Mail/NewFollower.php index c96660e3..f0c3f3b2 100644 --- a/app/Mail/NewFollower.php +++ b/app/Mail/NewFollower.php @@ -34,6 +34,7 @@ class NewFollower extends BaseNotification "{$creatorName} is now following you on Pony.fm!", [ 'creatorName' => $creatorName, + 'creatorBio' => $this->initiatingUser->bio, ]); } } diff --git a/app/Mail/NewTrack.php b/app/Mail/NewTrack.php index 46bf2b2a..6093541c 100644 --- a/app/Mail/NewTrack.php +++ b/app/Mail/NewTrack.php @@ -36,6 +36,7 @@ class NewTrack extends BaseNotification [ 'creatorName' => $creatorName, 'trackTitle' => $trackTitle, + 'genreTitle' => $this->activityRecord->resource->genre->name ]); } } diff --git a/app/Models/Activity.php b/app/Models/Activity.php index d202f8b7..273ba740 100644 --- a/app/Models/Activity.php +++ b/app/Models/Activity.php @@ -173,20 +173,24 @@ class Activity extends Model public function getThumbnailUrlAttribute() { - switch ($this->resource_type) { - case User::class: - return $this->resource->getAvatarUrl(Image::THUMBNAIL); + if (static::TYPE_CONTENT_FAVOURITED === $this->activity_type) { + return $this->initiatingUser->getAvatarUrl(Image::SMALL); + } else { + switch ($this->resource_type) { + case User::class: + return $this->resource->getAvatarUrl(Image::SMALL); - case Track::class: - case Album::class: - case Playlist::class: - return $this->resource->getCoverUrl(Image::THUMBNAIL); + case Track::class: + case Album::class: + case Playlist::class: + return $this->resource->getCoverUrl(Image::SMALL); - case Comment::class: - return $this->resource->user->getAvatarUrl(Image::THUMBNAIL); + case Comment::class: + return $this->resource->user->getAvatarUrl(Image::SMALL); - default: - throw new \Exception('This activity\'s resource is of an unknown type!'); + default: + throw new \Exception('This activity\'s resource is of an unknown type!'); + } } } diff --git a/gulpfile.js b/gulpfile.js index bdd11cc2..da586985 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -28,13 +28,13 @@ var gulp = require("gulp"), webpackStream = require('webpack-stream'), _ = require("underscore"), runSequence = require("run-sequence"), - rimraf = require("rimraf"), panini = require("panini"), inky = require("inky"), fs = require("fs"), siphon = require('siphon-media-query'), lazypipe = require('lazypipe'), - ext_replace = require('gulp-ext-replace'); + ext_replace = require('gulp-ext-replace'), + del = require('del'); var plumberOptions = { errorHandler: plug.notify.onError("Error: <%= error.message %>") @@ -185,10 +185,13 @@ gulp.task('copy:templates', function () { // They have been modified for ES5, Gulp 3 compatibility, and namespaced with "email-" // to avoid collisions with Pony.fm's other Gulp tasks. -// Delete the "resources/views/emails/build" folder +// Delete the "resources/views/emails/html" folder // This happens every time a build starts -gulp.task("email-clean", function emailClean(done) { - rimraf('resources/views/emails/build', done); +gulp.task("email-clean", function emailClean() { + return del([ + 'resources/views/emails/html', + 'public/build/emails' + ]); }); // Compile layouts, pages, and partials into flat HTML files @@ -203,7 +206,11 @@ gulp.task("email-pages", function emailPages() { })) .pipe(inky()) .pipe(ext_replace('.blade.php', '.blade.php.hbs')) - .pipe(gulp.dest('resources/views/emails/build')); + .pipe(gulp.dest('resources/views/emails/html')) + // If this is the dev environment, write the templates to the "public" + // directory as well. + .pipe(plug.if(!PRODUCTION, ext_replace('.blade.php.html', '.blade.php'))) + .pipe(plug.if(!PRODUCTION, gulp.dest('public/build/emails'))); }); // Reset Panini's cache of layouts and partials @@ -220,46 +227,19 @@ gulp.task("email-sass", function emailSass() { includePaths: ['node_modules/foundation-emails/scss'] }).on('error', plug.sass.logError)) .pipe(plug.if(PRODUCTION, plug.uncss( - { - html: ['resources/views/emails/build/**/*.blade.php'] - }))) + {html: ['resources/views/emails/html/**/*.blade.php']}))) .pipe(plug.if(!PRODUCTION, plug.sourcemaps.write())) - .pipe(gulp.dest('resources/views/emails/build/css')); + // If this is the dev environment, write the CSS to the "public" + // directory as well. + .pipe(gulp.dest('resources/views/emails/html/css')) + .pipe(plug.if(!PRODUCTION, gulp.dest('public/build/emails/css'))); }); // Copy and compress images gulp.task("email-images", function emailImages() { return gulp.src('resources/emails/src/assets/img/**/*') .pipe(plug.imagemin()) - .pipe(gulp.dest('./resources/views/emails/build/assets/img')); -}); - -// Inline CSS and minify HTML -gulp.task("email-inline", function emailInline() { - return gulp.src('resources/views/emails/build/**/*.blade.php') - .pipe(plug.if(PRODUCTION, emailInliner('resources/views/emails/build/css/app.css'))) - .pipe(gulp.dest('resources/views/emails/build')); -}); - - -// Helper tasks for email watchers -gulp.task("email-rebuild-handlebars", function(callback){ - runSequence("email-pages", "email-inline", callback); -}); -gulp.task("email-rebuild-layouts", function(callback){ - runSequence("email-reset-pages", "email-pages", "email-inline", callback); -}); -gulp.task("email-rebuild-sass", function(callback){ - runSequence("email-reset-pages", "email-sass", "email-pages", "email-inline", callback) -}); - -// Watch for file changes -gulp.task("email-watch", function (callback) { - gulp.watch('resources/emails/src/pages/**/*.blade.php.hbs', ["email-rebuild-handlebars"]); - gulp.watch(['resources/emails/src/layouts/**/*', 'resources/emails/src/partials/**/*'], ["email-rebuild-layouts"]); - gulp.watch(['resources/emails/src/assets/scss/**/*.scss'], ["email-rebuild-sass"]); - gulp.watch('resources/emails/src/assets/img/**/*', ["email-images"]); - callback(); + .pipe(gulp.dest('./resources/views/emails/html/assets/img')); }); @@ -283,7 +263,35 @@ function emailInliner(css) { }); } -// Build the "resources/views/emails/build" folder by running all of the above tasks +// Inline CSS and minify HTML +gulp.task("email-inline", function emailInline() { + return gulp.src('resources/views/emails/html/**/*.blade.php') + .pipe(emailInliner('resources/views/emails/html/css/app.css')()) + .pipe(gulp.dest('resources/views/emails/html')); +}); + + +// Helper tasks for email watchers +gulp.task("email-rebuild-handlebars", function(callback){ + runSequence("email-pages", "email-inline", callback); +}); +gulp.task("email-rebuild-layouts", function(callback){ + runSequence("email-reset-pages", "email-pages", "email-inline", callback); +}); +gulp.task("email-rebuild-sass", function(callback){ + runSequence("email-reset-pages", "email-sass", "email-pages", "email-inline", callback) +}); + +// Watch for file changes +gulp.task("email-watch", function (callback) { + gulp.watch('resources/emails/src/pages/**/*.blade.php.hbs', ["email-rebuild-handlebars"]); + gulp.watch(['resources/emails/src/layouts/**/*', 'resources/emails/src/partials/**/*'], ["email-rebuild-layouts"]); + gulp.watch(['resources/emails/src/assets/scss/**/*.scss'], ["email-rebuild-sass"]); + gulp.watch('resources/emails/src/assets/img/**/*', ["email-images"]); + callback(); +}); + +// Build the "resources/views/emails/html" folder by running all of the above tasks gulp.task('email-build', function(callback){ runSequence("email-clean", "email-pages", "email-sass", "email-images", "email-inline", callback); }); diff --git a/package.json b/package.json index 29374e3f..5bcb9ff5 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,10 @@ "chart.js": "2.1.0", "coffee-loader": "0.7.2", "coffee-script": "1.10.0", + "del": "^2.2.2", "foundation-emails": "^2.2.1", "fs": "0.0.1-security", - "gulp": "3.9.1", + "gulp": "^3.9.1", "gulp-angular-templatecache": "1.8.0", "gulp-autoprefixer": "3.1.0", "gulp-cached": "1.1.0", @@ -45,7 +46,6 @@ "jquery": "2.2.4", "lazypipe": "^1.0.1", "panini": "^1.3.1", - "rimraf": "^2.5.4", "run-sequence": "^1.2.2", "script-loader": "0.7.0", "siphon-media-query": "^1.0.0", diff --git a/resources/emails/src/layouts/index-layout.hbs b/resources/emails/src/layouts/index-layout.hbs deleted file mode 100644 index 321d3adc..00000000 --- a/resources/emails/src/layouts/index-layout.hbs +++ /dev/null @@ -1,30 +0,0 @@ -{{!-- This is the base layout for your project, and will be used on every page. --}} - - - - - - - - {{subject}} - - - - {{description}} - - - - -
-
- - {{> body}} - -
-
- -
                                                           
- - - diff --git a/resources/emails/src/layouts/notification.hbs b/resources/emails/src/layouts/notification.hbs new file mode 100644 index 00000000..0f24e001 --- /dev/null +++ b/resources/emails/src/layouts/notification.hbs @@ -0,0 +1,51 @@ + + + + + + + {{subject}} + + + + {{description}} + + + + +
+
+ + + +

Pony.fm

+
+
+ {{!-- Pages you create in the src/pages/ folder are inserted here when the flattened emails are created. --}} + {{> body}} + + +
What's this?
+

Pony.fm can now send you notifications via email! You can control what you get email notifications for in your account settings.

+

Unsubscribe from this kind of email

+
+ +
+

+ Sent with ♥
+
+ Poniverse
+ 248-1641 Lonsdale Avenue
+ North Vancouver
+ BC V7M 2J5
+ Canada +

+
+
+
+
+
+ +
                                                           
+ + diff --git a/resources/emails/src/pages/basic.blade.php.hbs b/resources/emails/src/pages/basic.blade.php.hbs deleted file mode 100644 index 8336da34..00000000 --- a/resources/emails/src/pages/basic.blade.php.hbs +++ /dev/null @@ -1,51 +0,0 @@ ---- -subject: My Basic Email Template Subject ---- - - - - - - - - -

BASIC

-
-
-
-
- - - - - - - - -

Hi, Susan Calvin

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magni, iste, amet consequatur a veniam.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ut optio nulla et, fugiat. Maiores accusantium nostrum asperiores provident, quam modi ex inventore dolores id aspernatur architecto odio minima perferendis, explicabo. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Minima quos quasi itaque beatae natus fugit provident delectus, magnam laudantium odio corrupti sit quam. Optio aut ut repudiandae velit distinctio asperiores?

- -

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reprehenderit repellendus natus, sint ea optio dignissimos asperiores inventore a molestiae dolorum placeat repellat excepturi mollitia ducimus unde doloremque ad, alias eos!

-
-
-
- - - - - - -
Connect With Us:
- - - -
- -
Contact Info:
-

Phone: 408-341-0600

-

Email: foundation@zurb.com

-
-
-
-
diff --git a/resources/emails/src/pages/drip.blade.php.hbs b/resources/emails/src/pages/drip.blade.php.hbs deleted file mode 100644 index 9744d98d..00000000 --- a/resources/emails/src/pages/drip.blade.php.hbs +++ /dev/null @@ -1,60 +0,0 @@ ---- -subject: My Drip Email Template Subject ---- - - - - - - - - - - - - - - - -
- -
- - - - - -

Responsive Emails

-

15 sections | 567 Min

-
-
- -
- - - -

Hey you! It's you! Just a heads up, we just added this hot new class that will teach you how to NOT be a lame as a duck. Not the metaphorical lame duck, either, but a real duck that was actually lame, maybe from stepping on a land mine or something. Anyways, Foundation for Emails makes coding HTML emails like calling the Navy SEALS to invade a Pre-school, with pre-schoolers, armed with Crayolas.

-
- -
-
-
- - - -
\ No newline at end of file diff --git a/resources/emails/src/pages/hero.blade.php.hbs b/resources/emails/src/pages/hero.blade.php.hbs deleted file mode 100644 index 5dc7ab2a..00000000 --- a/resources/emails/src/pages/hero.blade.php.hbs +++ /dev/null @@ -1,65 +0,0 @@ ---- -subject: My Hero Email Template Subject ---- - - - - - - - - -

HERO

-
-
-
-
- - - - - - - -

Hi, Elijah Baily

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nisi impedit sapiente delectus molestias quia.

- - -

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam assumenda, praesentium qui vitae voluptate dolores. Click it!

-
-

Title Ipsum This is a note.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nisi repellat, harum. Quas nobis id aut, aspernatur, sequi tempora laborum corporis cum debitis, ullam, dolorem dolore quisquam aperiam! Accusantium, ullam, nesciunt. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus consequuntur commodi, aut sed, quas quam optio accusantium recusandae nesciunt, architecto veritatis. Voluptatibus sunt esse dolor ipsum voluptates, assumenda quisquam.

- - - -
-
- - - - - - - -
Connect With Us:
- - - -
- -
Contact Info:
-

Phone: 408-341-0600

-

Email: foundation@zurb.com

-
-
-
- -
- - Terms - Privacy - Unsubscribe - -
- -
diff --git a/resources/emails/src/pages/index.blade.php.hbs b/resources/emails/src/pages/index.blade.php.hbs deleted file mode 100644 index 95cbddf7..00000000 --- a/resources/emails/src/pages/index.blade.php.hbs +++ /dev/null @@ -1,55 +0,0 @@ ---- -layout: index-layout -subject: My Email Templates ---- - - - - - - - - - - -

Hi there!

-

Thanks for downloading Foundation for Emails! Your days of coding up painful HTML emails are officially over. You’ll soon be cranking out some slick, responsive emails in no time! To help get you up and running, we've put together 11 templates for the most common email use cases including newsletters, transactional emails, and marketing blasts. Feel free to customize them to your hearts content.

- - - -
- - Basic Template - Drip Template - Hero Template - Marketing Template - Newsletter Template - Newsletter 2 Template - Order Template - Password Template - Sidebar Template - Sidebar Hero Template - Welcome Template - -
- - - -

Happy Coding,

-

The Foundation Team

- - - - -
-
-
- - - -
- Keep on keepin' on. <3 ZURB -
- - - diff --git a/resources/emails/src/pages/marketing.blade.php.hbs b/resources/emails/src/pages/marketing.blade.php.hbs deleted file mode 100644 index 7f4acbe2..00000000 --- a/resources/emails/src/pages/marketing.blade.php.hbs +++ /dev/null @@ -1,81 +0,0 @@ ---- -subject: My Marketing Email Template Subject ---- - - - - -
- -
-
- -

Do Something Radical With This App.

- -
-
- - - - - -

It's Never Been Easier to Do Things.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequatur pariatur unde magni repudiandae totam, accusamus facere eligendi. Ad nobis eius porro saepe et ab, aliquid, sed mollitia cumque suscipit aperiam.

-
-
- - -
- -
-
Feature One
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rerum, quod quam unde earum.

-
- -
- -
-
Feature Two
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rerum, quod quam unde earum.

-
- -
- -
-
Feature Three
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rerum, quod quam unde earum.

-
-
- - - - - -

What Are You Waiting For? Get Started Today.

- - - - -
-
- - - - - -
diff --git a/resources/emails/src/pages/newsletter-2.blade.php.hbs b/resources/emails/src/pages/newsletter-2.blade.php.hbs deleted file mode 100644 index 75b80154..00000000 --- a/resources/emails/src/pages/newsletter-2.blade.php.hbs +++ /dev/null @@ -1,43 +0,0 @@ ---- -subject: My Other Newsletter Email Template Subject ---- - - - - - - - -
- -
-
-
- - -

This is a title

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam at, nihil quas harum mollitia dolores odio. Inventore delectus nihil soluta quos, magni doloribus, voluptas aspernatur explicabo atque perspiciatis possimus voluptates.

-

Learn more

-
- - - -
- - -

Sub Section Title

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod eum eius numquam sint dolore voluptatibus beatae ab ad, dignissimos fugiat? Nisi odio commodi debitis eveniet tenetur provident aliquid tempora placeat.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod eum eius numquam sint dolore voluptatibus beatae ab ad, dignissimos fugiat? Nisi odio commodi debitis eveniet tenetur provident aliquid tempora placeat.

-
- -

Sub Section Title

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod eum eius numquam sint dolore voluptatibus beatae ab ad, dignissimos fugiat? Nisi odio commodi debitis eveniet tenetur provident aliquid tempora placeat.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod eum eius numquam sint dolore voluptatibus beatae ab ad, dignissimos fugiat? Nisi odio commodi debitis eveniet tenetur provident aliquid tempora placeat.

-
-
- - -

You received this email because you're signed up to receive updates from us. Click here to unsubscribe.

-
-
-
diff --git a/resources/emails/src/pages/newsletter.blade.php.hbs b/resources/emails/src/pages/newsletter.blade.php.hbs deleted file mode 100644 index 1856bae9..00000000 --- a/resources/emails/src/pages/newsletter.blade.php.hbs +++ /dev/null @@ -1,44 +0,0 @@ ---- -subject: My Newsletter Email Template Subject ---- - - - - - - - -

The Insider

-
- -
- - - -

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa itaque illo doloribus soluta expedita dolores commodi fuga odit.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto reiciendis eos magni deleniti accusamus tempore, consectetur! Maxime amet, exercitationem nihil fugit eius esse voluptatum ab incidunt minima, saepe reiciendis ipsum.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto reiciendis eos magni deleniti accusamus tempore, consectetur! Maxime amet, exercitationem nihil fugit eius esse voluptatum ab incidunt minima, saepe reiciendis ipsum.

- - - -

More Reading:

- -
- -

Get Involved:

- -
-
- -

You received this email because you're signed up to get updates from us. Click here to unsubscribe.

-
-
-
diff --git a/resources/emails/src/pages/notifications/content-favourited.blade.php.hbs b/resources/emails/src/pages/notifications/content-favourited.blade.php.hbs new file mode 100644 index 00000000..6da934af --- /dev/null +++ b/resources/emails/src/pages/notifications/content-favourited.blade.php.hbs @@ -0,0 +1,32 @@ +--- +layout: notification +--- + + + + +

\{{ $creatorName }} favourited your \{{ $resourceType }}, + \{{ $resourceTitle }}! + Yay!

+
+
+ + + + + + + +

\{{ $creatorName }}

+

\{{ $creatorBio }}

+
+
+ + +
+ +
+
+
+
+
diff --git a/resources/emails/src/pages/notifications/new-comment-content.blade.php.hbs b/resources/emails/src/pages/notifications/new-comment-content.blade.php.hbs new file mode 100644 index 00000000..2e170704 --- /dev/null +++ b/resources/emails/src/pages/notifications/new-comment-content.blade.php.hbs @@ -0,0 +1,31 @@ +--- +layout: notification +--- + + + + +

\{{ $creatorName }} left a comment on your \{{ $resourceType }}, + \{{ $resourceTitle }}!

+
+
+ + + + + + + +

\{{ $creatorName }} wrote,

+

\{{ $comment }}

+
+
+ + +
+ +
+
+
+
+
diff --git a/resources/emails/src/pages/notifications/new-comment-profile.blade.php.hbs b/resources/emails/src/pages/notifications/new-comment-profile.blade.php.hbs new file mode 100644 index 00000000..a21637ab --- /dev/null +++ b/resources/emails/src/pages/notifications/new-comment-profile.blade.php.hbs @@ -0,0 +1,30 @@ +--- +layout: notification +--- + + + + +

\{{ $creatorName }} left a comment on your Pony.fm profile!

+
+
+ + + + + + + +

\{{ $creatorName }} wrote,

+

\{{ $comment }}

+
+
+ + +
+ +
+
+
+
+
diff --git a/resources/emails/src/pages/notifications/new-follower.blade.php.hbs b/resources/emails/src/pages/notifications/new-follower.blade.php.hbs new file mode 100644 index 00000000..3e9ae74d --- /dev/null +++ b/resources/emails/src/pages/notifications/new-follower.blade.php.hbs @@ -0,0 +1,23 @@ +--- +layout: notification +--- + + + + +

Congrats! \{{ $creatorName }} is now following you on Pony.fm!

+
+
+ + + + + + + +

\{{ $creatorName }}

+

\{{ $creatorBio }}

+
+
+
+
diff --git a/resources/emails/src/pages/notifications/new-playlist.blade.php.hbs b/resources/emails/src/pages/notifications/new-playlist.blade.php.hbs new file mode 100644 index 00000000..78eeaa68 --- /dev/null +++ b/resources/emails/src/pages/notifications/new-playlist.blade.php.hbs @@ -0,0 +1,30 @@ +--- +layout: notification +--- + + + + +

\{{ $creatorName }} created a new playlist on Pony.fm!

+
+
+ + + + + + + +

\{{ $playlistTitle }}

+

by: \{{ $creatorName }}

+
+
+ + +
+ +
+
+
+
+
diff --git a/resources/emails/src/pages/notifications/new-track.blade.php.hbs b/resources/emails/src/pages/notifications/new-track.blade.php.hbs new file mode 100644 index 00000000..4c207301 --- /dev/null +++ b/resources/emails/src/pages/notifications/new-track.blade.php.hbs @@ -0,0 +1,30 @@ +--- +layout: notification +--- + + + + +

\{{ $creatorName }} published a new track on Pony.fm!

+
+
+ + + + + + + +

\{{ $trackTitle }}

+

by: \{{ $creatorName }} / \{{ $genreTitle }}

+
+
+ + +
+ +
+
+
+
+
diff --git a/resources/emails/src/pages/order.blade.php.hbs b/resources/emails/src/pages/order.blade.php.hbs deleted file mode 100644 index def38313..00000000 --- a/resources/emails/src/pages/order.blade.php.hbs +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - -

Thanks for your order.

-

Thanks for shopping with us! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad earum ducimus, non, eveniet neque dolores voluptas architecto sed, voluptatibus aut dolorem odio. Cupiditate a recusandae, illum cum voluptatum modi nostrum.

- - - - - - -

- Payment Method
- Dubloons -

-

- Email Address
- thecapn@pirates.org -

-

- Order ID
- 239235983749636 -

-
- -

- Shipping Method
- Boat (1–2 weeks)
- Shipping Address
- Captain Price
- 123 Maple Rd
- Campbell, CA 95112 -

-
-
-
- -

Order Details

- - - - - - - - - - -
Item#Price
Ship's Cannon2$100
Ship's Cannon2$100
Ship's Cannon2$100
Subtotal:$600
- -
- -

What's Next?

- -

Our carrier raven will prepare your order for delivery. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Modi necessitatibus itaque debitis laudantium doloribus quasi nostrum distinctio suscipit, magni soluta eius animi voluptatem qui velit eligendi quam praesentium provident culpa?

-
-
- - - - - -

- Call us at 800.555.1923
- Email us at support@discount.boat -

-
- -

- 123 Maple Rd
- Campbell, CA 95112 -

-
-
-
diff --git a/resources/emails/src/pages/password.blade.php.hbs b/resources/emails/src/pages/password.blade.php.hbs deleted file mode 100644 index abc0c552..00000000 --- a/resources/emails/src/pages/password.blade.php.hbs +++ /dev/null @@ -1,40 +0,0 @@ ---- -subject: My Password Email Template Subject ---- - - - - - - - - -

Pirate Retirement Services

-
-
- - - - - -
- -
- - - -

Forgot Your Password?

- - - -

It happens. Click the link below to reset your password.

- - -
- -

You're getting this email because you've signed up for email updates. If you want to opt-out of future emails, unsubscribe here.

-
-
- - -
diff --git a/resources/emails/src/pages/sidebar-hero.blade.php.hbs b/resources/emails/src/pages/sidebar-hero.blade.php.hbs deleted file mode 100644 index 27161051..00000000 --- a/resources/emails/src/pages/sidebar-hero.blade.php.hbs +++ /dev/null @@ -1,80 +0,0 @@ ---- -subject: My Sidebar Hero Email Template Subject ---- - - - - - - - - -

SIDEBAR HERO

-
-
-
-
- - - - - - - -

Hi, Elijah Baily

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nisi impedit sapiente delectus molestias quia.

-
- -
- -

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam assumenda, praesentium qui vitae voluptate dolores. Click it!

-
-
-
- - -

Hello, Han Fastolfe

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laboriosam nobis velit, aliquid pariatur at fugit. Omnis at quae, libero iusto quisquam animi blanditiis neque, alias minima corporis, ab in explicabo?

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime dignissimos voluptas minus, cupiditate voluptatem, voluptatum iste molestiae consectetur temporibus quae dolore nam possimus reprehenderit blanditiis laborum iusto sit. Perspiciatis, dolor.

- - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Culpa quas optio totam quidem, placeat sunt, sit iusto fugit. Harum omnis deleniti enim nihil iure, quis laudantium veniam velit animi debitis. Click It! - -

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores minus eius amet alias odit accusantium, fugit perspiciatis nulla suscipit nisi. Laborum aliquid, voluptatum consectetur fugiat maxime architecto enim molestias aperiam!

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ex eveniet veritatis, magnam ipsam et vero necessitatibus. Deserunt facilis impedit, adipisci illo laboriosam assumenda fugiat dolorum nam odio aliquid, sit est.

- -
- - -
Header
-

Sub-header

- - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - -
- -
CONNECT WITH US:
- - - -

CONTACT INFO:

-

Phone: 408-341-0600

-

Email: foundation@zurb.com

-
-
-
- -
- - Terms - Privacy - Unsubscribe - -
- -
diff --git a/resources/emails/src/pages/sidebar.blade.php.hbs b/resources/emails/src/pages/sidebar.blade.php.hbs deleted file mode 100644 index 45ac03ca..00000000 --- a/resources/emails/src/pages/sidebar.blade.php.hbs +++ /dev/null @@ -1,70 +0,0 @@ ---- -subject: My Hero Sidebar Template Subject ---- - - - - - - - - -

SIDEBAR

-
-
-
-
- - - - - - - -

Hello, Han Fastolfe

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laboriosam nobis velit, aliquid pariatur at fugit. Omnis at quae, libero iusto quisquam animi blanditiis neque, alias minima corporis, ab in explicabo?

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime dignissimos voluptas minus, cupiditate voluptatem, voluptatum iste molestiae consectetur temporibus quae dolore nam possimus reprehenderit blanditiis laborum iusto sit. Perspiciatis, dolor.

- - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Culpa quas optio totam quidem, placeat sunt, sit iusto fugit. Harum omnis deleniti enim nihil iure, quis laudantium veniam velit animi debitis. Click It! - -

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores minus eius amet alias odit accusantium, fugit perspiciatis nulla suscipit nisi. Laborum aliquid, voluptatum consectetur fugiat maxime architecto enim molestias aperiam!

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ex eveniet veritatis, magnam ipsam et vero necessitatibus. Deserunt facilis impedit, adipisci illo laboriosam assumenda fugiat dolorum nam odio aliquid, sit est.

- -
- - -
Header
-

Sub-header

- - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - Just a Plain Link » - -
- -
CONNECT WITH US:
- - - -

CONTACT INFO:

-

Phone: 408-341-0600

-

Email: foundation@zurb.com

-
-
-
- - -
- - Terms - Privacy - Unsubscribe - -
-
-
-
diff --git a/resources/emails/src/pages/welcome.blade.php.hbs b/resources/emails/src/pages/welcome.blade.php.hbs deleted file mode 100644 index dcc11390..00000000 --- a/resources/emails/src/pages/welcome.blade.php.hbs +++ /dev/null @@ -1,51 +0,0 @@ ---- -subject: My Welcome Email Template Subject ---- - - - - -

Welcome to Kraken Academy

- -
- - About - Course List - Campus Map - Contact - -
- -
-
-
- - - - - - - -
- -
- - - -

An exciting future of terrorizing sailors awaits you at Kraken Academy.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque culpa vel architecto, perspiciatis eius cum autem quidem, sunt consequuntur, impedit dolor vitae illum nobis sint nihil aliquid? Assumenda, amet, officia.

- -
- - krakenacademy.com - Facebook - Twitter - (408)-555-0123 - -
- -
-
- - -
diff --git a/resources/views/emails/notifications/_layout.blade.php b/resources/views/emails/notifications/_layout.blade.php deleted file mode 100644 index 132a1131..00000000 --- a/resources/views/emails/notifications/_layout.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@yield('content') - -
- -

Unsubscribe from this kind of email

- -
-Poniverse
-248-1641 Lonsdale Avenue
-North Vancouver
-BC V7M 2J5
-Canada -
diff --git a/resources/views/emails/notifications/content-favourited.blade.php b/resources/views/emails/notifications/content-favourited.blade.php deleted file mode 100644 index ec6425fc..00000000 --- a/resources/views/emails/notifications/content-favourited.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -@extends('emails.notifications._layout') - -@section('content') -

- {{ $creatorName }} favourited your {{ $resourceType }}, - {{ $resourceTitle }}. - Yay! -

-@endsection diff --git a/resources/views/emails/notifications/new-comment-content.blade.php b/resources/views/emails/notifications/new-comment-content.blade.php deleted file mode 100644 index 796d8321..00000000 --- a/resources/views/emails/notifications/new-comment-content.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -@extends('emails.notifications._layout') - -@section('content') -

- {{ $creatorName }} left a comment on your {{ $resourceType }}, - {{ $resourceTitle }}! - Visit it to read the comment and reply. -

-@endsection diff --git a/resources/views/emails/notifications/new-comment-profile.blade.php b/resources/views/emails/notifications/new-comment-profile.blade.php deleted file mode 100644 index 4dcf3609..00000000 --- a/resources/views/emails/notifications/new-comment-profile.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -@extends('emails.notifications._layout') - -@section('content') -

- {{ $creatorName }} left a comment on your Pony.fm profile! - Visit your profile to - read it and reply. -

-@endsection diff --git a/resources/views/emails/notifications/new-follower.blade.php b/resources/views/emails/notifications/new-follower.blade.php deleted file mode 100644 index 582fd04e..00000000 --- a/resources/views/emails/notifications/new-follower.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -@extends('emails.notifications._layout') - -@section('content') -

- Congrats! - {{ $creatorName }} - is now following you on Pony.fm! -

-@endsection diff --git a/resources/views/emails/notifications/new-playlist.blade.php b/resources/views/emails/notifications/new-playlist.blade.php deleted file mode 100644 index 79d857f9..00000000 --- a/resources/views/emails/notifications/new-playlist.blade.php +++ /dev/null @@ -1,8 +0,0 @@ -@extends('emails.notifications._layout') - -@section('content') -

{{ $creatorName }} created a new playlist on Pony.fm! Check it out:

- -

{{ $playlistTitle }}

- -@endsection diff --git a/resources/views/emails/notifications/new-track.blade.php b/resources/views/emails/notifications/new-track.blade.php deleted file mode 100644 index f5a7d660..00000000 --- a/resources/views/emails/notifications/new-track.blade.php +++ /dev/null @@ -1,8 +0,0 @@ -@extends('emails.notifications._layout') - -@section('content') -

{{ $creatorName }} published a new track on Pony.fm! Listen to it now:

- -

{{ $trackTitle }}

- -@endsection diff --git a/resources/views/emails/notifications/_layout_plaintext.blade.php b/resources/views/emails/plaintext/notifications/_layout.blade.php similarity index 100% rename from resources/views/emails/notifications/_layout_plaintext.blade.php rename to resources/views/emails/plaintext/notifications/_layout.blade.php diff --git a/resources/views/emails/notifications/content-favourited_plaintext.blade.php b/resources/views/emails/plaintext/notifications/content-favourited.blade.php similarity index 78% rename from resources/views/emails/notifications/content-favourited_plaintext.blade.php rename to resources/views/emails/plaintext/notifications/content-favourited.blade.php index d14dc51d..c86afaa7 100644 --- a/resources/views/emails/notifications/content-favourited_plaintext.blade.php +++ b/resources/views/emails/plaintext/notifications/content-favourited.blade.php @@ -1,4 +1,4 @@ -@extends('emails.notifications._layout_plaintext') +@extends('emails.plaintext.notifications._layout') @section('content') {{ $creatorName }} favourited your {{ $resourceType }}, "{{ $resourceTitle }}". Yay! diff --git a/resources/views/emails/notifications/new-comment-content_plaintext.blade.php b/resources/views/emails/plaintext/notifications/new-comment-content.blade.php similarity index 79% rename from resources/views/emails/notifications/new-comment-content_plaintext.blade.php rename to resources/views/emails/plaintext/notifications/new-comment-content.blade.php index 3ece5499..d76a8b6a 100644 --- a/resources/views/emails/notifications/new-comment-content_plaintext.blade.php +++ b/resources/views/emails/plaintext/notifications/new-comment-content.blade.php @@ -1,4 +1,4 @@ -@extends('emails.notifications._layout_plaintext') +@extends('emails.plaintext.notifications._layout') @section('content') {{ $creatorName }} left a comment on your {{ $resourceType }}, "{{ $resourceTitle }}"! diff --git a/resources/views/emails/notifications/new-comment-profile_plaintext.blade.php b/resources/views/emails/plaintext/notifications/new-comment-profile.blade.php similarity index 78% rename from resources/views/emails/notifications/new-comment-profile_plaintext.blade.php rename to resources/views/emails/plaintext/notifications/new-comment-profile.blade.php index 8bc4c58a..2bb8dff5 100644 --- a/resources/views/emails/notifications/new-comment-profile_plaintext.blade.php +++ b/resources/views/emails/plaintext/notifications/new-comment-profile.blade.php @@ -1,4 +1,4 @@ -@extends('emails.notifications._layout_plaintext') +@extends('emails.plaintext.notifications._layout') @section('content') {{ $creatorName }} left a comment on your Pony.fm profile! diff --git a/resources/views/emails/notifications/new-follower_plaintext.blade.php b/resources/views/emails/plaintext/notifications/new-follower.blade.php similarity index 74% rename from resources/views/emails/notifications/new-follower_plaintext.blade.php rename to resources/views/emails/plaintext/notifications/new-follower.blade.php index 88d02d59..3c1af8be 100644 --- a/resources/views/emails/notifications/new-follower_plaintext.blade.php +++ b/resources/views/emails/plaintext/notifications/new-follower.blade.php @@ -1,4 +1,4 @@ -@extends('emails.notifications._layout_plaintext') +@extends('emails.plaintext.notifications._layout') @section('content') Congrats! {{ $creatorName }} is now following you on Pony.fm! diff --git a/resources/views/emails/notifications/new-playlist_plaintext.blade.php b/resources/views/emails/plaintext/notifications/new-playlist.blade.php similarity index 75% rename from resources/views/emails/notifications/new-playlist_plaintext.blade.php rename to resources/views/emails/plaintext/notifications/new-playlist.blade.php index cab8d9d0..4b098adf 100644 --- a/resources/views/emails/notifications/new-playlist_plaintext.blade.php +++ b/resources/views/emails/plaintext/notifications/new-playlist.blade.php @@ -1,4 +1,4 @@ -@extends('emails.notifications._layout_plaintext') +@extends('emails.plaintext.notifications._layout') @section('content') {{ $creatorName }} created a new playlist on Pony.fm! diff --git a/resources/views/emails/notifications/new-track_plaintext.blade.php b/resources/views/emails/plaintext/notifications/new-track.blade.php similarity index 74% rename from resources/views/emails/notifications/new-track_plaintext.blade.php rename to resources/views/emails/plaintext/notifications/new-track.blade.php index 89f01e4e..4244f737 100644 --- a/resources/views/emails/notifications/new-track_plaintext.blade.php +++ b/resources/views/emails/plaintext/notifications/new-track.blade.php @@ -1,4 +1,4 @@ -@extends('emails.notifications._layout_plaintext') +@extends('emails.plaintext.notifications._layout') @section('content') {{ $creatorName }} published a new track on Pony.fm!