Fix user macro for mailer and updated mermaid library to 8.0.0-rc6

This commit is contained in:
Alexander Meindl 2018-03-27 15:05:17 +02:00
parent 1107a3726a
commit d526288ea1
5 changed files with 16 additions and 8 deletions

View File

@ -7,7 +7,8 @@ Changelog
- provice tooltip css class
- Remove bootstrap library
- compatibility with https://www.redmine.org/plugins/issue_id
- bug fix: issue macro uses absolute url in mailer notification
- bug fix: issue and user macro uses absolute url in mailer notification
- Updated marmaid library to version 8.0.0-rc6
2.0.9
+++++
@ -19,20 +20,20 @@ Changelog
- add "Assign to me" to issues
- add "Status on sidebar" for issues
- add link to create new issue on user profile
- FontAwsome 5.0.8 support
- FontAwesome 5.0.8 support
- Add marmaid library
2.0.8
+++++
- Provide XLSX helper (and drop XLS helper)
- FontAwsome 5.0.6 support
- FontAwesome 5.0.6 support
- add list support for rake task setting_set
2.0.7
+++++
- FontAwsome 5.0.2 support
- FontAwesome 5.0.2 support
- Switching to SLIM template engine
2.0.6

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -155,7 +155,7 @@ It provides :
* `d3plus v2.0.0-alpha.16 <https://d3plus.org/>`_
* `jQuery TagIt 2.0 <http://aehlke.github.io/tag-it/>`_
* `FontAwesome 5.0.8 <https://fontawesome.com/>`_
* `mermaid 8.0.0-alpha.8 <https://github.com/knsv/mermaid/>`_
* `mermaid 8.0.0-rc6 <https://github.com/knsv/mermaid/>`_
* `nvd3 1.8.6 <https://github.com/novus/nvd3>`_
* `ZeroClipboard 2.2.0 <https://github.com/zeroclipboard/zeroclipboard>`_

View File

@ -38,7 +38,7 @@ module Additionals
s << avatar(user, size: 14) + ' ' if options[:avatar].present? && options[:avatar]
s << if user.active?
link_to(h(name), user_path(user), class: user.css_classes)
link_to(h(name), user_url(user, only_path: controller_path != 'mailer'), class: user.css_classes)
else
h(name)
end