Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
5c0808e2
Commit
5c0808e2
authored
Feb 07, 2020
by
Robert Czechowski
Browse files
Merge branch 'deploy'
parents
fff7e8f8
d8ca3ad9
Pipeline
#370
passed with stages
in 24 minutes and 44 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core.rs
View file @
5c0808e2
...
...
@@ -532,6 +532,10 @@ pub fn show_task<T: MedalConnection>(conn: &T, task_id: i32, session_token: &str
data
.insert
(
"contestid"
.to_string
(),
to_json
(
&
c
.id
));
data
.insert
(
"seconds_left"
.to_string
(),
to_json
(
&
left_secs
));
if
c
.duration
>
0
{
data
.insert
(
"duration"
.to_string
(),
to_json
(
&
true
));
}
Ok
((
"task"
.to_owned
(),
data
))
}
}
...
...
templates/jwinf/group.hbs
View file @
5c0808e2
...
...
@@ -14,7 +14,7 @@
<div
class=
"columns"
>
<div
class=
"column is-8 is-offset-2"
>
<p>
Mitglieder: –
<br>
<!--
Mitglieder: –<br>
-->
Marker:
{{
group
.
tag
}}
</p>
<h4
class=
"subtitle is-5"
>
Gruppencode:
<strong>
{{
group
.
code
}}
</strong></h4>
...
...
templates/jwinf/groups.hbs
View file @
5c0808e2
...
...
@@ -38,7 +38,7 @@
<tr>
<th>
Name
</th>
<th>
Gruppencode
</th>
<th>
Mitglieder
</th>
<
!--
th>Mitglieder</th
--
>
<th>
Marker
</th>
<th></th>
<th>
Download
</th>
...
...
@@ -47,7 +47,7 @@
<tr>
<td><a
href=
"/group/
{{
id
}}
"
>
{{
name
}}
</a></td>
<td>
{{
code
}}
</td>
<td>
–
</td>
<
!--
td>–</td
--
>
<td>
{{
tag
}}
</td>
<td><a
href=
"/group/
{{
id
}}
"
class=
"button is-small"
>
Ansehen …
</a></td>
<td><a
href=
"/group/download/
{{
id
}}
"
>
{{
name
}}
.csv
</a></td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment