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
!95
appointment can be removed, but only when not atached to visit and with SCHEDULED status
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
appointment can be removed, but only when not atached to visit and with SCHEDULED status
150-possibility-to-remove-appointment
into
master
Overview
0
Commits
1
Pipelines
1
Changes
4
Merged
Piotr Gawron
requested to merge
150-possibility-to-remove-appointment
into
master
7 years ago
Overview
0
Commits
1
Pipelines
1
Changes
4
Expand
Closes
#150 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
84678a1b
1 commit,
7 years ago
4 files
+
41
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
smash/web/templates/appointments/edit.html
+
11
−
5
Options
@@ -89,18 +89,26 @@
</fieldset>
{% endif %}
<div
class=
"box-footer"
>
<div
class=
"col-sm-
4
"
>
<div
class=
"col-sm-
3
"
>
<button
type=
"submit"
class=
"btn btn-block btn-success"
>
Save
</button>
</div>
<div
class=
"col-sm-
4
"
>
<div
class=
"col-sm-
3
"
>
<button
id=
"save-and-continue"
type=
"button"
class=
"btn btn-block btn-success"
>
Save and
Continue
</button>
</div>
<div
class=
"col-sm-
4
"
>
<div
class=
"col-sm-
3
"
>
<a
href=
"{% url 'web.views.appointments' %}"
class=
"btn btn-block btn-default"
onclick=
"history.back()"
>
Cancel
</a>
</div>
{% if not appointment.visit %}
{% ifequal appointment.status "SCHEDULED" %}
<div
class=
"col-sm-3"
>
<a
href=
"{% url 'web.views.appointment_delete' appointment.id %}"
class=
"btn btn-block btn-danger"
>
Delete
</a>
</div>
{% endifequal %}
{% endif %}
</div>
<!-- /.box-footer -->
</form>
</div>
@@ -111,8 +119,6 @@
{% endblock %}
{% endblock maincontent %}
{% block scripts %}
Loading