Project

General

Profile

Link repository files inside a table in a project with multiple repositories

Added by Malte Röhs over 4 years ago

Hi,

I would like to link a repository file in a project with multiple repositories, so I have something like
source:svn1|/path/to/file

But I want that inside of a table and so I need to escape the | but I don't know how.

File Description
source:svn1 /path/to/file awesome

I am facing the same problem when trying to link a revision inside a table.

Revison Description
svn1 r758 Bug

Has anyone an idea?

Thanks a lot
Malte

ps:
Environment:
Redmine version 3.4.4.stable
Ruby version 2.5.0-p0 (2017-12-25) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2


Replies (2)

RE: Link repository files inside a table in a project with multiple repositories - Added by Bernhard Rohloff over 4 years ago

Hi Malte,

if you are using textile formatting, this is your solution: https://www.redmine.org/boards/2/topics/11866.
I have not found a proper solution for markdown but writing a little macro could solve it.

Kind regards,

Bernhard

RE: Link repository files inside a table in a project with multiple repositories - Added by Malte Röhs over 4 years ago

Hi Bernhard,

<notextile>|</notextile> did the trick.

So to achieve the following table

File Description
source:svn1|/path/to/file awesome

you nee to write

|_.File|_.Description|
|source:svn1<notextile>|</notextile>/path/to/file|awesome|

Thanks a lot for the hint!

Greetings,
Malte

    (1-2/2)