nie-ine / inseri

inseri serves as an online collaborative work and publish environment.
https://nie-ine.github.io/inseri
Other
13 stars 4 forks source link

clickable links in templates #551

Closed DDDOlga closed 4 years ago

DDDOlga commented 4 years ago

Dear All,

It would be great to have a clickable links in the descriptions of the templates for IIIF resources.

Screenshot 2020-09-08 at 10 49 36
domsteinbach commented 4 years ago

Sorry, I was a little bit fast, Done with (https://github.com/nie-ine/inseri/commit/ed3f2495b170442562b8895a419a84523f8de9ab) . Please pull and check.

domsteinbach commented 4 years ago

It is done only in the textlist view and still has to be implemented in the description of the templates. It could be done in a similar fashion or via a Pipe (via Pipe it would be neat, as it could be imported and reused elsewhere).

domsteinbach commented 4 years ago

Now added an inseri wide link pipe in this commit

The only thing left is to use it in the templates like done so in the dashboard.component.html <p class="text-muted" [innerHTML]= "action.description | linkify"></p>