We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75a8870 commit b47fd96Copy full SHA for b47fd96
services/app/lib/codebattle_web/templates/task/show.html.slim
@@ -4,7 +4,10 @@
4
h3.text-center.mt-4 Params
5
.d-flex.flex-wrap.align-items-center.justify-content-around.text-muted
6
span Played count: #{@played_count}
7
- span Origin: #{@task.origin}
+ = if @task.origin == "github" do
8
+ a href="https://github.com/hexlet-codebattle/battle_asserts/tree/master/src/battle_asserts/issues/#{@task.name}.clj" Origin: #{@task.origin}
9
+ - else
10
+ span Origin: #{@task.origin}
11
span Visibility: #{@task.visibility}
12
span State: #{@task.state}
13
= if @task.creator_id do
0 commit comments