mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: fix star
This commit is contained in:
7 files changed
+24
-47
No files matched your search
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<div class="section__body typo no-media col--problem-name">
|
||||
{%- for pdoc in pdocs -%}
|
||||
<p data-pid="{{ pdoc.docId }}" data-star="true">
|
||||
<p data-action="{{ url('problem_detail', pid=pdoc.docId) }}" data-star="true">
|
||||
{{ problem.render_problem_title(pdoc, show_tags=false, show_invisible_flag=false) }}
|
||||
</p>
|
||||
{%- endfor -%}
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<td class="col--status record-status--border edit-mode-hide"></td>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<td class="col--name col--problem-name" {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} data-star="{{ psdoc.star }}"{% endif %}>
|
||||
<td class="col--name col--problem-name" data-action="{{ url('problem_detail', docId=pdoc.docId) }}" {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} data-star="{{ psdoc.star }}"{% endif %}>
|
||||
{{ problem.render_problem_title(pdoc) }}
|
||||
</td>
|
||||
<td class="col--ac-tried">{{ pdoc.nAccept }} / {{ pdoc.nSubmit }}</td>
|
||||
|
||||
Reference in new issue
Block a user