Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Untis
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-Untis
Merge requests
!15
Add views for assigning subjects to groups
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add views for assigning subjects to groups
feature/assignment-forms
into
master
Overview
4
Commits
2
Pipelines
0
Changes
5
Merged
Jonathan Weth
requested to merge
feature/assignment-forms
into
master
5 years ago
Overview
4
Commits
2
Pipelines
0
Changes
5
Expand
Necessary for matching method by subjects and parent groups (MySQL importer)
Edited
5 years ago
by
Jonathan Weth
0
0
Merge request reports
Compare
master
version 1
b2355be0
5 years ago
master (base)
and
latest version
latest version
c62ea379
2 commits,
5 years ago
version 1
b2355be0
1 commit,
5 years ago
5 files
+
144
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
aleksis/apps/untis/templates/untis/groups_subjects.html
0 → 100644
+
69
−
0
Options
{# -*- engine:django -*- #}
{% extends "core/base.html" %}
{% load i18n %}
{% block browser_title %}{% blocktrans %}Assign subjects to groups{% endblocktrans %}{% endblock %}
{% block page_title %}
{% blocktrans %}Assign subjects to groups{% endblocktrans %}
{% endblock %}
{% block content %}
<div
class=
"alert info"
>
<p>
<i
class=
"material-icons left"
>
info
</i>
{% blocktrans %}
You can use this form to assign subjects to groups. Please enter the exact names of the subjects as they are
saved in UNTIS (case-insensitive). These values are only used to match course groups while importing from MySQL.
{% endblocktrans %}
</p>
</div>
<div
class=
"alert warning"
>
<p>
<i
class=
"material-icons left"
>
warning
</i>
{% blocktrans %}
If there are more than 100 groups, this table will have multiple pages. That means that you must save your
changes on every page.
<strong>
Please don't change the page before you saved your changes!
</strong>
{% endblocktrans %}
</p>
</div>
<form
method=
"post"
>
{% csrf_token %}
{{ formset.management_form }}
{% include "core/save_button.html" %}
{% include "components/pagination.html" %}
<table>
<tr>
<th>
{% blocktrans %}Group{% endblocktrans %}
</th>
<th>
{% blocktrans %}Subject{% endblocktrans %}
</th>
</tr>
{% for form in formset %}
{{ form.id }}
<tr>
<td>
{{ form.name }} {{ form.short_name }}
{{ form.name.value }} {% if form.short_name.value %}({{ form.short_name.value }}){% endif %}
</td>
<td>
{{ form.untis_subject }}
</td>
</tr>
{% endfor %}
</table>
{% include "components/pagination.html" %}
{% include "core/save_button.html" %}
<div
class=
"fixed-action-btn"
>
<button
class=
"btn-floating btn-large green"
type=
"submit"
>
<i
class=
"large material-icons"
>
save
</i>
</button>
</div>
</form>
{% endblock %}
Loading