mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Koenig - Added help link (#1033)
refs https://github.com/TryGhost/Ghost/issues/9724 - basic link to editor help docs
This commit is contained in:
parent
7892e4901d
commit
b6d0ce0789
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="flex items-center pl4 pr4 f8 nudge-left--1 h9 br2 br--right {{unless infoMessage "bg-white"}}">
|
||||
<span class="fw4 midgrey-l2">
|
||||
<span class="fw3 midgrey-l2">
|
||||
{{gh-editor-post-status
|
||||
post=post
|
||||
isSaving=(or autosave.isRunning saveTasks.isRunning)
|
||||
@ -88,6 +88,13 @@
|
||||
onWordCountChange=(action "updateWordCount")
|
||||
}}
|
||||
|
||||
<div class="absolute flex items-center br3 bg-white {{if editor.headerClass "right-4 bottom-4" "right-6 bottom-6"}}">
|
||||
<div class="midgrey-l2 {{if editor.headerClass "f-supersmall pl2 pr2" "f8 pl4 pr3"}} fw3">
|
||||
{{pluralize wordCount.wordCount "word"}}
|
||||
</div>
|
||||
<a href="https://help.ghost.org/article/29-ghost-editor-overview" class="flex {{if editor.headerClass "pa2" "pa3"}}" target="_blank">{{svg-jar "help" class="w4 h4 stroke-midgrey-l2"}}</a>
|
||||
</div>
|
||||
|
||||
{{else}}
|
||||
|
||||
{{!--
|
||||
@ -188,13 +195,6 @@
|
||||
|
||||
{{/if}} {{!-- end Koenig conditional --}}
|
||||
|
||||
{{#if wordCount}}
|
||||
<div class="absolute flex items-center br3 bg-white {{if editor.headerClass "right-4 bottom-2 h7 pa1 pl2 pr2" "right-6 bottom-6 h9 pa1 pl4 pr4"}}">
|
||||
<span class="midgrey-l2 {{if editor.headerClass "f-supersmall" "f8"}}">
|
||||
{{pluralize wordCount.wordCount "word"}}
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/gh-editor}}
|
||||
|
||||
{{#if showDeletePostModal}}
|
||||
|
6
ghost/admin/public/assets/icons/help.svg
Normal file
6
ghost/admin/public/assets/icons/help.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<path d="M6.875 8.118c-.003-1.94.963-2.98 2.897-3.122 1.934-.143 3.042.745 3.323 2.664.282 1.92-.525 3.088-2.418 3.507-.446.088-.671.358-.677.812v.928M10 14.993c.139 0 .208.07.208.209 0 .139-.07.208-.208.208-.139 0-.208-.07-.208-.208 0-.058.02-.107.06-.148.041-.04.09-.06.148-.06" stroke="#343F44" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M19.5 10c0-2.629-.924-4.859-2.782-6.718C14.858 1.424 12.628.5 10 .5c-2.629 0-4.859.924-6.718 2.782C1.424 5.142.5 7.372.5 10c0 2.629.924 4.859 2.782 6.718C5.142 18.576 7.372 19.5 10 19.5c2.629 0 4.859-.924 6.718-2.782 1.858-1.86 2.782-4.09 2.782-6.718z" stroke="#343F44"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 784 B |
Loading…
Reference in New Issue
Block a user