Actualización

This commit is contained in:
Xes
2025-04-10 12:49:05 +02:00
parent 4aff98e77b
commit 1cdd00920f
9151 changed files with 1800913 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<hr />
<h3>
{{ 'Comments' | get_lang }}
</h3>
<hr>
<ul>
{% for comment in comments %}
<li>
<div class="page-header">
<a href="{{ _p.web_code }}">
<img height="24" src="{{ comment.picture }}"/> {{ comment.complete_name }}
</a>- {{ comment.sent_at_with_label }}
</div>
<p>
{% if comment.comment is not empty %}
{{ comment.comment|remove_xss }}
{% else %}
{{ 'HereIsYourFeedback' | get_lang }}
{% endif %}
</p>
{% if comment.file_url is not empty %}
<ul class="fa-ul">
<li>
<span class="fa-li fa fa-paperclip"></span>
<a href="{{ comment.file_url }}">
{{ comment.file_name_to_show }}
</a>
{% if is_allowed_to_edit %}
<a href="{{ comment.delete_file_url }}">
{{ 'delete.png'|img(22, 'Delete'|get_lang) }}
</a>
{% endif %}
</li>
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
<br />

View File

@@ -0,0 +1,17 @@
{% extends 'layout/layout_1_col.tpl'|get_template %}
{% import 'default/macro/macro.tpl' as display %}
{% block content %}
<a
href="javascript:void(0);"
class="ajax"
data-title="{{ intro_title | escape}}"
data-content="{{ intro_content | escape }}"
>
<h4>{{ intro_title }}</h4>
</a>
{{ display.collapse('PendingStudentPublications', 'PendingStudentPublications' | get_lang, table, false, true) }}
{{ display.collapse('StudentPublicationsSent', 'StudentPublicationsSent' | get_lang, table_with_results, false, false) }}
{% endblock %}

View File

@@ -0,0 +1,27 @@
<div class="page-header">
<h2>
{{ work.title }}
</h2>
</div>
{% if work.description %}
<h3>
{{ 'Description' | get_lang }}
</h3>
<p>
{{ work.description }}
</p>
{% endif %}
{{ form }}
{% if work.contains_file and work.show_content %}
<h3>
{{ 'Content' | get_lang }}
</h3>
<p>
{{ work.show_content }}
</p>
{% endif %}
{% include 'work/comments.tpl'|get_template %}