mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
Ember cleanup: double quotes + removed bad tag
- All HTML / Handlebars should use double quotes - Removed a tag I meant to remove earlier
This commit is contained in:
parent
787182db55
commit
7f3e9da168
@ -19,7 +19,7 @@
|
||||
{{/gh-popover-button}}
|
||||
{{!-- @TODO: add functionality to allow for dropdown to work --}}
|
||||
{{#gh-popover tagName="ul" classNames="overlay" name="user-menu" closeOnClick="true"}}
|
||||
<li class="usermenu-profile">{{#link-to 'settings.user'}}Your Profile{{/link-to}}</li>
|
||||
<li class="usermenu-profile">{{#link-to "settings.user"}}Your Profile{{/link-to}}</li>
|
||||
<li class="divider"></li>
|
||||
<li class="usermenu-help"><a href="http://ghost.org/forum/">Help / Support</a></li>
|
||||
<li class="divider"></li>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<section class="entry-container">
|
||||
<header>
|
||||
<section class="box entry-title">
|
||||
{{input type="text" id="entry-title" placeholder="Your Post Title" value=title tabindex="1"}}
|
||||
@ -24,4 +23,4 @@
|
||||
</section>
|
||||
</section>
|
||||
|
||||
{{partial 'publish-bar'}}
|
||||
{{partial "publish-bar"}}
|
||||
|
@ -29,4 +29,4 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<a class="delete" {{action 'openModal' 'delete-post' post}}>Delete This Post</a>
|
||||
<a class="delete" {{action "openModal" "delete-post" post}}>Delete This Post</a>
|
||||
|
@ -6,11 +6,11 @@
|
||||
</section>
|
||||
{{#link-to "new" class="button button-add" title="New Post"}}<span class="hidden">New Post</span>{{/link-to}}
|
||||
</header>
|
||||
{{#view 'content-list-content-view' tagName="section"}}
|
||||
{{#view "content-list-content-view" tagName="section"}}
|
||||
<ol class="posts-list">
|
||||
{{#each itemController="posts/post" itemView="post-item-view" itemTagName="li"}}
|
||||
{{!-- @TODO: Restore functionality where 'featured' and 'page' classes are added for proper posts --}}
|
||||
{{#link-to 'posts.post' this class="permalink" title="Edit this post"}}
|
||||
{{#link-to "posts.post" this class="permalink" title="Edit this post"}}
|
||||
<h3 class="entry-title">{{title}}</h3>
|
||||
<section class="entry-meta">
|
||||
<span class="status">
|
||||
|
@ -14,7 +14,7 @@
|
||||
<div class="no-posts-box">
|
||||
<div class="no-posts">
|
||||
<h3>You Haven't Written Any Posts Yet!</h3>
|
||||
{{#link-to 'new'}}<button class="button-add large" title="New Post">Write a new Post</button>{{/link-to}}
|
||||
{{#link-to "new"}}<button class="button-add large" title="New Post">Write a new Post</button>{{/link-to}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<button class="button-back">Back</button>
|
||||
<h2 class="title">General</h2>
|
||||
<section class="page-actions">
|
||||
<button class="button-save" {{action 'save'}}>Save</button>
|
||||
<button class="button-save" {{action "save"}}>Save</button>
|
||||
</section>
|
||||
</header>
|
||||
|
||||
@ -29,9 +29,9 @@
|
||||
<div class="form-group">
|
||||
<label for="blog-logo">Blog Logo</label>
|
||||
{{#if logo}}
|
||||
<a class="js-modal-logo" href="#" {{action 'openModal' 'upload'}}><img id="blog-logo" {{bind-attr src=logo}} alt="logo"></a>
|
||||
<a class="js-modal-logo" href="#" {{action "openModal" "upload"}}><img id="blog-logo" {{bind-attr src=logo}} alt="logo"></a>
|
||||
{{else}}
|
||||
<a class="button-add js-modal-logo" {{action 'openModal' 'upload'}}>Upload Image</a>
|
||||
<a class="button-add js-modal-logo" {{action "openModal" "upload"}}>Upload Image</a>
|
||||
{{/if}}
|
||||
<p>Display a sexy logo for your publication</p>
|
||||
</div>
|
||||
@ -39,9 +39,9 @@
|
||||
<div class="form-group">
|
||||
<label for="blog-cover">Blog Cover</label>
|
||||
{{#if cover}}
|
||||
<a class="js-modal-cover" href="#" {{action 'openModal' 'upload'}}><img id="blog-cover" {{bind-attr src=logo}} alt="cover photo"></a>
|
||||
<a class="js-modal-cover" href="#" {{action "openModal" "upload"}}><img id="blog-cover" {{bind-attr src=logo}} alt="cover photo"></a>
|
||||
{{else}}
|
||||
<a class="button-add js-modal-cover" {{action 'openModal' 'upload'}}>Upload Image</a>
|
||||
<a class="button-add js-modal-cover" {{action "openModal" "upload"}}>Upload Image</a>
|
||||
{{/if}}
|
||||
<p>Display a cover image on your site</p>
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<button class="button-back">Back</button>
|
||||
<h2 class="title">Your Profile</h2>
|
||||
<section class="page-actions">
|
||||
<button class="button-save" {{action 'save'}}>Save</button>
|
||||
<button class="button-save" {{action "save"}}>Save</button>
|
||||
</section>
|
||||
</header>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<header class="user-profile-header">
|
||||
<img id="user-cover" class="cover-image" {{bind-attr src=cover title=coverTitle}} />
|
||||
|
||||
<a class="edit-cover-image js-modal-cover button" {{action 'openModal' 'upload'}}>Change Cover</a>
|
||||
<a class="edit-cover-image js-modal-cover button" {{action "openModal" "upload"}}>Change Cover</a>
|
||||
</header>
|
||||
|
||||
<form class="user-profile" novalidate="novalidate">
|
||||
@ -19,8 +19,8 @@
|
||||
<fieldset class="user-details-top">
|
||||
|
||||
<figure class="user-image">
|
||||
<div id="user-image" class="img" {{bind-attr style=image}} href="#"><span class="hidden">{{name}}'s Picture</span></div>
|
||||
<a href="" {{action 'openModal' 'upload'}} class="edit-user-image js-modal-image">Edit Picture</a>
|
||||
<div id="user-image" class="img" {{bind-attr style=image}} href="#"><span class="hidden">{{name}}"s Picture</span></div>
|
||||
<a href="" {{action "openModal" "upload"}} class="edit-user-image js-modal-image">Edit Picture</a>
|
||||
</figure>
|
||||
|
||||
<div class="form-group">
|
||||
@ -81,7 +81,7 @@
|
||||
{{input value=ne2Password type="password" id="user-new-password-verification"}}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="button" class="button-delete button-change-password" {{action 'password'}}>Change Password</button>
|
||||
<button type="button" class="button-delete button-change-password" {{action "password"}}>Change Password</button>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
Loading…
Reference in New Issue
Block a user