mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-13 10:09:27 +00:00
Added Help-Text (Guide to this page) to acceptLehrauftrag
Moved text to function_getHelptext, which will switch language depending on the given user language.
This commit is contained in:
@@ -75,45 +75,8 @@ $this->load->view(
|
||||
<div class="row">
|
||||
<div class="col-lg-12 collapse" id="collapseHelp">
|
||||
<div class="well">
|
||||
<h4>Wie nehme ich Lehraufträge an?</h4>
|
||||
<div class="panel panel-body">
|
||||
Sobald Ihnen ein oder mehrere Lehraufträge erteilt wurden, können Sie diese annehmen.
|
||||
<ol>
|
||||
<li>Klicken Sie unten auf das Status-Icon 'Nur erteilte anzeigen' oder 'Alle anzeigen'</li>
|
||||
<li>Wählen Sie die Lehraufträge, die Sie annehmen möchten, selbst oder alle über den Button 'Alle auswählen'.</li>
|
||||
<li>Geben Sie Ihr CIS-Passwort ein und klicken auf Lehrauftrag annehmen.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Warum kann ich manche Lehraufträge nicht auswählen?</h4>
|
||||
<div class="panel panel-body">
|
||||
Nur Lehraufträge mit dem Status 'erteilt' können gewählt werden.<br>
|
||||
Angenommene Lehraufträge oder Lehraufträge in Bearbeitung werden nur zu Ihrer Information angezeigt.
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Filter</h4>
|
||||
<div class="panel panel-body">
|
||||
<div class="col-xs-12 col-md-8 col-lg-6">
|
||||
<table class="table table-bordered">
|
||||
<tr class="text-center">
|
||||
<td class="col-xs-1"><i class='fa fa-users'></i></td>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-tag.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-check.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><i class='fa fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><b>Alle</b><br>Alle Lehraufträge mit jedem Status</td>
|
||||
<td><b>Bestellt</b><br>Nur bestellte UND bestellte Lehraufträge, die in Bearbeitung sind</td>
|
||||
<td><b>Erteilt</b><br>Nur erteilte UND geänderte Lehraufträge, die in Bearbeitung sind</td>
|
||||
<td><b>Angenommen</b><br>Nur von Ihnen angenommene Lehraufträge</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
</div>
|
||||
<?php echo _getHelptext(getUserLanguage()); ?>
|
||||
</div> <!--./well-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -211,3 +174,97 @@ $this->load->view(
|
||||
</body>
|
||||
|
||||
<?php $this->load->view('templates/FHC-Footer'); ?>
|
||||
|
||||
<?php
|
||||
|
||||
function _getHelptext($user_language)
|
||||
{
|
||||
$html = '';
|
||||
|
||||
if ($user_language == 'German')
|
||||
{
|
||||
$html = <<<EOT
|
||||
<h4>Wie nehme ich Lehraufträge an?</h4>
|
||||
<div class="panel panel-body">
|
||||
Sobald Ihnen ein oder mehrere Lehraufträge erteilt wurden, können Sie diese annehmen.
|
||||
<ol>
|
||||
<li>Klicken Sie unten auf das Status-Icon 'Nur erteilte anzeigen' oder 'Alle anzeigen'</li>
|
||||
<li>Wählen Sie die Lehraufträge, die Sie annehmen möchten, selbst oder alle über den Button 'Alle auswählen'.</li>
|
||||
<li>Geben Sie Ihr CIS-Passwort ein und klicken auf Lehrauftrag annehmen.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Warum kann ich manche Lehraufträge nicht auswählen?</h4>
|
||||
<div class="panel panel-body">
|
||||
Nur Lehraufträge mit dem Status 'erteilt' können gewählt werden.<br>
|
||||
Angenommene Lehraufträge oder Lehraufträge in Bearbeitung werden nur zu Ihrer Information angezeigt.
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Filter</h4>
|
||||
<div class="panel panel-body">
|
||||
<div class="col-xs-12 col-md-8 col-lg-6">
|
||||
<table class="table table-bordered">
|
||||
<tr class="text-center">
|
||||
<td class="col-xs-1"><i class='fa fa-users'></i></td>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-tag.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-check.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><i class='fa fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><b>Alle</b><br>Alle Lehraufträge mit jedem Status</td>
|
||||
<td><b>Bestellt</b><br>Nur bestellte UND bestellte Lehraufträge, die in Bearbeitung sind</td>
|
||||
<td><b>Erteilt</b><br>Nur erteilte UND geänderte Lehraufträge, die in Bearbeitung sind</td>
|
||||
<td><b>Angenommen</b><br>Nur von Ihnen angenommene Lehraufträge</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
EOT;
|
||||
}
|
||||
elseif ($user_language == 'English')
|
||||
{
|
||||
$html = <<<EOT
|
||||
<h4> How do I accept teaching lectureships? </h4>
|
||||
<div class = "panel panel-body">
|
||||
As soon as a teaching lectureship has been approved (status = approved), you can accept it.
|
||||
<ol>
|
||||
<li> Click on the status icon 'Show only approved’ or 'Show all' below </li>
|
||||
<li> Select the teaching assignments you would like to accept either by selecting them individually or by using the 'Select all' button. </li>
|
||||
<li> Enter your CIS password and click on ‘Accept lectureships’. </li>
|
||||
</ol>
|
||||
</div><br>
|
||||
|
||||
<h4> Why can't I select some teaching lectureships? </h4>
|
||||
<div class = "panel panel-body">
|
||||
Only approved teaching lectureships are selectable. (status MUST be approved) <br>
|
||||
</div><br>
|
||||
|
||||
<h4>Filtering teaching lectureships by status</h4>
|
||||
<div class = "panel panel-body">
|
||||
<div class = "col-xs-12 col-md-8 col-lg-6">
|
||||
<table class = "table table-bordered">
|
||||
<tr class = "text-center">
|
||||
<td class = "col-xs-1"><i class = 'fa fa-users'></i></td>
|
||||
<td class = "col-xs-1"><img src = "../../../public/images/icons/fa-user-tag.png" style = "height: 30px; width: 30px;"></td>
|
||||
<td class = "col-xs-1"><img src = "../../../public/images/icons/fa-user-check.png" style = "height: 30px; width: 30px;"></td>
|
||||
<td class = "col-xs-1"><i class = 'fa fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class = "text-center">
|
||||
<td><b>All</b><br> All teaching lectureships (any status)</td>
|
||||
<td><b>Ordered</b><br> Only ordered teaching lectureships</td>
|
||||
<td><b>Approved</b><br> Only approved teaching lectureships</td>
|
||||
<td><b>Accepted</b><br> Only accepted lectureships</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div><br>
|
||||
EOT;
|
||||
}
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user