wip
This commit is contained in:
parent
72dac49878
commit
e9a588f24e
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
{% from "components/markdown_content.html" import render_markdown, render_markdown_with_truncate %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container-xl">
|
<div class="container-xl">
|
||||||
|
@ -181,7 +182,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="app-card-body markdown-content">
|
<div class="app-card-body markdown-content">
|
||||||
{% if app.documentation %}
|
{% if app.documentation %}
|
||||||
{{ app.documentation|markdown|truncate(300, true) }}
|
{{ render_markdown_with_truncate(app.documentation) }}
|
||||||
<a href="{{ url_for('dashboard.app_view', app_id=app.id) }}" class="text-primary">Read more</a>
|
<a href="{{ url_for('dashboard.app_view', app_id=app.id) }}" class="text-primary">Read more</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="text-muted">No documentation available for this application.</p>
|
<p class="text-muted">No documentation available for this application.</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue