Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SMASCH
scheduling-system
Merge requests
!309
Resolve "admin cannot unfinish visit"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "admin cannot unfinish visit"
386-admin-cannot-unfinish-visit
into
devel_1.0.x
Overview
0
Commits
2
Pipelines
3
Changes
2
Merged
Piotr Gawron
requested to merge
386-admin-cannot-unfinish-visit
into
devel_1.0.x
4 years ago
Overview
0
Commits
2
Pipelines
3
Changes
2
Expand
Closes
#386 (closed)
Edited
4 years ago
by
Piotr Gawron
0
0
Merge request reports
Viewing commit
a9422b4e
Prev
Next
Show latest version
2 files
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
a9422b4e
possibility to infinish visit was always disabled
· a9422b4e
Piotr Gawron
authored
4 years ago
smash/web/templates/visits/details.html
+
2
−
2
Options
@@ -70,7 +70,7 @@
<div
class=
"col-md-6 form-group"
>
<label
class=
"col-sm-4 control-label"
>
{% if visFinished %}
<i
title=
"Only visits with one i
n
mediate future visit (without appointments) can be unfinished."
class=
"fa fa-info-circle"
></i>
<i
title=
"Only visits with one i
m
mediate future visit (without appointments) can be unfinished."
class=
"fa fa-info-circle"
></i>
{% endif %}
Visit finished
</label>
@@ -95,7 +95,7 @@
{% if visFinished %}
<div
class=
"col-sm-1"
>
{% if "
unfinish
_visit" not in permissions %}
{% if "
delete
_visit" not in permissions %}
<div
title=
"You don't have permissions to unfinish visits."
class=
"btn btn-block btn-warning disabled"
>
<i
class=
"fa fa-undo"
></i>
</div>
Loading