Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606823475-practice
Commits
060158c8
Commit
060158c8
authored
Nov 05, 2019
by
Muhammad Ilham Peruzzi
Browse files
add test case that strongly kills mutant 2, pipeline fail because of that
parent
5bf84692
Changes
1
Hide whitespace changes
Inline
Side-by-side
lists/templates/list.html
View file @
060158c8
...
...
@@ -5,15 +5,13 @@
{% block form_action %}/lists/{{ list.id }}/add_item{% endblock %}
{% block table %}
{% if list.item_set.all|length == 0 %}
<div
id=
"comment"
>
<p>
yey, waktunya berlibur
</p>
{% elif list.item_set.all|length > 5 %}
<p>
sibuk tapi santai
</p>
{% else %}
<p>
oh tidak
</p>
{% endif %}
</div>
{% if list.item_set.all|length != 0 %}
<p>
yey, waktunya berlibur
</p>
{% elif list.item_set.all|length
<
5
%}
<
p
>
sibuk tapi santai
</p>
{% else %}
<p>
oh tidak
</p>
{% endif %}
<table
id=
"id_list_table"
class=
"table"
>
{% for item in list.item_set.all %}
<tr><td>
{{ forloop.counter }}: {{ item.text }}
</td></tr>
...
...
Write
Preview
Supports
Markdown
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