mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: allow view solution & others code after accept
This commit is contained in:
1 parent
c0ac4302a2
commit
489327cc0d
7 files changed
+41
-25
No files matched your search
@@ -108,11 +108,11 @@
|
||||
<h2 class="section__title">{{ _('Accepted Problems') }}</h2>
|
||||
</div>
|
||||
<div class="typo section__body no-media">
|
||||
{% set _mark = (pdocs.length/4)|int %}
|
||||
{% set _mark = Math.ceil(pdocs.length/4) %}
|
||||
{% set _one = pdocs.slice(0, _mark) %}
|
||||
{% set _two = pdocs.slice(_mark, _mark*2) %}
|
||||
{% set _three = pdocs.slice(_mark*2, _mark*3) %}
|
||||
{% set _four = pdocs.slice(_mark*3, pdocs.length) %}
|
||||
{% set _four = pdocs.slice(_mark*3, pdocs.length - 1) %}
|
||||
<div class="row">
|
||||
<div class="medium-3 columns">
|
||||
<ul>
|
||||
|
||||
Reference in new issue
Block a user