This commit is contained in:
masnn committed 2020-04-17 13:53:06 +08:00
1 parent ce3d11b999
commit b1153b641a
13 files changed
+163 -42

No files matched your search

+3 -3
View File
@@ -1,10 +1,10 @@
{% macro render_problem_title(pdoc, tdoc=none, show_tags=true, show_invisible_flag=true, rp=none, invalid=false) %}
{%- if not invalid %}
<a
{%- if tdoc is none %}
href="/p/{{ pdoc.pid }}"
{%- else %}
{%- if tdoc %}
href="/c/{{ tdoc._id }}/p/{{ pdoc._id }}"
{%- else %}
href="/p/{{ pdoc.pid }}"
{%- endif %}
>
{%- endif %}