Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Alsijil
Commits
f32dba55
Verified
Commit
f32dba55
authored
2 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Patches
Plain Diff
Show done instructions also in read-only mode
parent
8666add0
No related branches found
Branches containing commit
No related tags found
1 merge request
!215
Draft: Resolve "Instructions can be linked to a document as remarks by the group"
Pipeline
#74364
passed
2 years ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/alsijil/templates/alsijil/partials/lesson/tabs/documentation.html
+16
-1
16 additions, 1 deletion
...templates/alsijil/partials/lesson/tabs/documentation.html
with
16 additions
and
1 deletion
aleksis/apps/alsijil/templates/alsijil/partials/lesson/tabs/documentation.html
+
16
−
1
View file @
f32dba55
...
...
@@ -26,7 +26,7 @@
{% for instruction in instructions %}
<div
class=
"collection-item"
>
<i
class=
"material-icons primary-color-text left"
>
{{ instruction.icon|default:"rule" }}
</i>
{{ instruction.name }}
<a
href=
"{{ instruction.pdf_file.url }}"
target=
"_blank"
>
{{ instruction.name }}
</a>
<div
class=
"right grey-text darken-4"
>
{% trans "Instruction done" %}
<label
class=
"secondary-content right"
>
...
...
@@ -69,6 +69,21 @@
</td>
</tr>
</table>
{% if lesson_documentation.done_instructions.all %}
<h6>
{% trans "Done instructions" %}
</h6>
<div
class=
"collection"
>
{% for instruction in lesson_documentation.done_instructions.all %}
<div
class=
"collection-item"
>
<i
class=
"material-icons primary-color-text left"
>
{{ instruction.icon|default:"rule" }}
</i>
<a
href=
"{{ instruction.pdf_file.url }}"
target=
"_blank"
>
{{ instruction.name }}
</a>
<div
class=
"right green-text"
>
<i
class=
"material-icons left"
>
check
</i>
{% trans "Instruction done in this lesson" %}
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% endif %}
</div>
<div
class=
"card-action-light hide-on-small-only"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment