diff --git a/Changelog.md b/Changelog.md index ee9bb71b2..e2b95982d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -56,6 +56,7 @@ A new feature [has been added](https://github.com/diaspora/diaspora/pull/4602) t * Improve the management of the contacts visibility settings in an aspect [#4567](https://github.com/diaspora/diaspora/pull/4567) * Add actions on aspects on the contact page [#4570](https://github.com/diaspora/diaspora/pull/4570) * Added a statistics route with general pod information, and if enabled in pod settings, total user, half year/monthly active users and local post counts [#4602](https://github.com/diaspora/diaspora/pull/4602) +* Add indication about markdown formatting in the publisher [#4589](https://github.com/diaspora/diaspora/pull/4589) # 0.2.0.1 diff --git a/app/assets/stylesheets/publisher.css.scss b/app/assets/stylesheets/publisher.css.scss index 43f5f60d4..6fbd68a19 100644 --- a/app/assets/stylesheets/publisher.css.scss +++ b/app/assets/stylesheets/publisher.css.scss @@ -261,10 +261,9 @@ } #publisher.closed { - #publisher_textarea_wrapper { - #hide_publisher { - display: none; - } + #publisher_textarea_wrapper #hide_publisher, + .markdownIndications { + display: none; } } @@ -277,6 +276,8 @@ } #publisher-images { + padding-left: 5px; + #locator { bottom: 1px !important; display: inline-block; diff --git a/app/views/shared/_publisher.html.haml b/app/views/shared/_publisher.html.haml index f0a38fee6..39281266f 100644 --- a/app/views/shared/_publisher.html.haml +++ b/app/views/shared/_publisher.html.haml @@ -26,6 +26,8 @@ = status.hidden_field :text, :value => h(publisher_hidden_text), :class => 'clear_on_submit' #publisher-images + %span.markdownIndications + != t('.formatWithMarkdown', link: link_to('markdown', 'https://diasporafoundation.org/formatting')) #locator.btn{:title => t('.get_location')} = image_tag 'icons/marker.png', :alt => t('.get_location').titleize, :class => 'publisher_image' #file-upload.btn{:title => t('.upload_photos')} diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index d1aaf777c..149a53b75 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -992,6 +992,7 @@ en: one: "In %{count} aspect" other: "In %{count} aspects" publisher: + formatWithMarkdown: "You can use %{link} to format your post" posting: "Posting..." share: "Share" preview: "Preview"