A feature's guide now sits under the menu it is used from, read from the templates rather than from where somebody once put it: Header-Bar, All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar (Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists, Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several menus (editor, history, theme, translations, email, troubleshooting) are in General. - Each area has a README mapping its menu entries to their guides and to the template or server module that implements them. Board-Header/README.md lists all 40 Board View entries with the template boardBody.jade renders; five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of their own yet and say so. - Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all of them with their English labels. - Pages keep their file names. Where a released changelog links an old path, a "# Moved" page stays there and points to the new one; test-menu.sh skips folders holding only those. - Undo was filed under Login; it is General/Undo now. - Every link in docs, code comments, scripts and tests follows the move; docsLinksResolve checks them all. Tests that read a doc follow it to its new place. boardViewSettings now fails when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or names a template boardBody.jade does not render. Thanks to xet7 !
3.1 KiB
To translators, about the word Custom
See other feature for description of Custom Customize Translations
1) Click: Board hamburger menu / Custom Fields
2) Click: Create Field, add details and Save
3) Click: Card Details hamburger menu / Edit custom fields
4) Click: Your Custom Field name to insert it to Card
5) Click: Your selection from your Custom Field
6) Custom Field is shown at Minicard and Card Details
String Template variables
A String Template formats each nonempty value entered on the card, then joins those results using the field's separator. The same format appears on minicards and in card details. Available variables are:
| Variable | Value |
|---|---|
%{value} |
The current item entered in this custom field |
%{card.title} |
Card title |
%{board.title} |
Board title |
%{list.title} |
List title |
%{swimlane.title} |
Swimlane title |
Names are case-insensitive. The spelling {%card.title} (percent sign inside
the braces) also works. Titles and formats update while the card is open.
Linked cards use their source card's context, just as they use its custom-field
values. Unknown variables or unavailable context remain literal text. These
variables do not expose arbitrary document properties or other custom fields.
Append |urlencode to encode a value as a URL parameter. For example, a label
printer link can use this format:
[Print label](https://printer.example/print?label=%{value|urlencode}&card=%{card.title|urlencode}&lane=%{swimlane.title|urlencode})
Spaces, Unicode and characters such as &, # and ? are encoded within each
parameter, rather than changing the URL's structure. The normal Markdown viewer
still handles links and sanitization. Variable contents are substituted once;
text inside a card title is never evaluated as another template.
The existing regular-expression replacement applies to the current item and can be mixed with the variables:
${"regex":"^([A-Z]{2})-(.*)$","flags":"i","replace":"$1 / $2"}
Invalid regex definitions remain visible instead of preventing card rendering.
This is the Custom Fields String Template feature requested in
#3815; Rules action templates use
their separate {card}, {board} and other rule variables.
To copy field values between two cards, for example from each worker's card to a main card on another board, see Linked custom fields.