2022-11-01 14:57:36 +01:00
|
|
|
{# templates/blog/blog_show.html.twig #}
|
|
|
|
{% extends '@default/base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Projects{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
{% if is_granted('ROLE_ADMIN') %}
|
|
|
|
<div class="d-flex justify-content-end">
|
2022-11-05 17:18:04 +01:00
|
|
|
<a href="{{ path('app_main', { id : project.id }) }}"><span class="fa fa-3x fa-fw fa-edit"></span></a>
|
|
|
|
<a href="{{ path('app_main', { id : project.id }) }}"><span class="fa fa-3x fa-fw fa-trash"></span></a>
|
2022-11-01 14:57:36 +01:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="show-article-container p-3 mt-4">
|
|
|
|
<div class="show-article-title-container d-inline-block pl-3 align-middle">
|
|
|
|
<h2>{{ project.name }}</h2>
|
|
|
|
</div>
|
|
|
|
<div>
|
2022-11-05 17:18:04 +01:00
|
|
|
Source: <a href="{{ project.url }}" target="_blank">{{ project.url }}</a>
|
|
|
|
<span class="fa fa-external-link" aria-hidden="true"></span>
|
2022-11-01 14:57:36 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<div class="article-text">
|
|
|
|
{{ readme | markdown_to_html }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|