Actualiza el plugin Additionals a 3.0.2-master
This commit is contained in:
parent
3b6a41320c
commit
cfa0d58b18
164 changed files with 2027 additions and 58190 deletions
|
@ -3,7 +3,7 @@ Iframe
|
|||
|
||||
Iframe macro for Redmine. The iframe is a square HTML element. It can be embedded e.g. within a Wiki page of Redmine. Via an iframe, content from other Internet pages can be integrated just like via a small integrated browser window.
|
||||
|
||||
For example you can integrate a CodiMD Pad page into your Wiki pages.
|
||||
For example you can integrate a HedgeDoc Pad page into your Wiki pages.
|
||||
|
||||
.. function:: {{iframe(url [, width=INT, height=INT, with_link=BOOL])}}
|
||||
|
||||
|
|
|
@ -3,13 +3,14 @@ User
|
|||
|
||||
User wiki macro for Redmine.
|
||||
|
||||
.. function:: {{user_name [, format=FORMAT, avatar=BOOL])}}
|
||||
.. function:: {{user(user [, format=FORMAT, text=BOOL, avatar=BOOL])}}
|
||||
|
||||
Display link to user profile
|
||||
|
||||
:param string user_name: username (login name) or user id of the user
|
||||
:param string user: user name (login name) or user id of the user. If current user is used as login name the currently logged in user will be used.
|
||||
:param string format: custom format of link name. If not specified system settings will be used. You can use format with the same options as for system settings.
|
||||
:param bool avatar: show avatar, if true
|
||||
:param bool text: show text only (without link), if true (default: false)
|
||||
:param bool avatar: show avatar, if true (default: false)
|
||||
|
||||
Scope
|
||||
+++++
|
||||
|
@ -60,3 +61,15 @@ Link to user profile with login name ``admin`` with first name and last name as
|
|||
.. code-block:: smarty
|
||||
|
||||
{{user(admin, format=firstname_lastname)}}
|
||||
|
||||
Display name of currently logged in user with username as text
|
||||
|
||||
.. code-block:: smarty
|
||||
|
||||
{{user(current_user, text=true)}}
|
||||
|
||||
Display name of currently logged in user with username
|
||||
|
||||
.. code-block:: smarty
|
||||
|
||||
{{user(current_user)}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue