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

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
LtSquigs committed Sep 5, 2014
2 parents fac71cc + 355b8fa commit 34dfb5d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/download-backup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default Ember.Component.extend({
text: 'Download Backup',

click: function () {
var fileName = this.get('buildEnvironment.siteName') + '-' + moment().format() + '.json';
var fileName = this.get('buildEnvironment.siteDisplayName') + '-' + moment().format() + '.json';
window.ENV.firebase.once('value', function (snapshot) {
var data = snapshot.val();

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/wh/settings/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default Ember.Controller.extend({

download: function () {

var fileName = this.get('buildEnvironment.siteName') + '-' + moment().format() + '.json';
var fileName = this.get('buildEnvironment.siteDisplayName') + '-' + moment().format() + '.json';

window.ENV.firebase.once('value', function (snapshot) {
var data = snapshot.val();
Expand Down
1 change: 1 addition & 0 deletions app/initializers/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default {
buildEnv.set('local', isLocal);
buildEnv.set('localSocket', localSocket);
buildEnv.set('siteName', siteName);
buildEnv.set('siteDisplayName', window.ENV.selfHosted ? siteName.replace('/,1/g', '.') : siteName);
buildEnv.set('siteUrl', 'http://' + siteName + '.webhook.com/');
buildEnv.set('building', false);
buildEnv.set('selfHosted', window.ENV.selfHosted);
Expand Down
4 changes: 2 additions & 2 deletions app/templates/form/_initialscaffolding.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<p>
{{#if contentType.oneOff}}
We automatically created a starter template for you. You can find it at
<code>/{{buildEnvironment.siteName}}/pages/{{contentType.id}}.html</code>.
<code>/{{buildEnvironment.siteDisplayName}}/pages/{{contentType.id}}.html</code>.
It will teach you the basics of pulling content into your site from the CMS.
{{else}}
We automatically created starter templates in your
<code>/{{buildEnvironment.siteName}}/templates/{{contentType.id}}/</code>
<code>/{{buildEnvironment.siteDisplayName}}/templates/{{contentType.id}}/</code>
folder. They will teach you the basics of pulling content into your
site from the CMS.
{{/if}}
Expand Down

0 comments on commit 34dfb5d

Please sign in to comment.