mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
Merge branch 'feature-6301/DigitalerLehrauftrag_Translation_Ueberarbeitung' into review/DigitaleLehrauftraege
This commit is contained in:
@@ -52,7 +52,8 @@ class Lehrauftrag extends Auth_Controller
|
||||
array(
|
||||
'global',
|
||||
'ui',
|
||||
'lehre'
|
||||
'lehre',
|
||||
'table'
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -52,7 +52,8 @@ class LehrauftragAkzeptieren extends Auth_Controller
|
||||
'ui',
|
||||
'lehre',
|
||||
'password',
|
||||
'dms'
|
||||
'dms',
|
||||
'table'
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -50,7 +50,8 @@ class LehrauftragErteilen extends Auth_Controller
|
||||
array(
|
||||
'global',
|
||||
'ui',
|
||||
'lehre'
|
||||
'lehre',
|
||||
'table'
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -78,8 +78,7 @@ function generateJSDataStorageObject($indexPage, $calledPath, $calledMethod)
|
||||
app_root: "'.APP_ROOT.'",
|
||||
ci_router: "'.$indexPage.'",
|
||||
called_path: "'.$calledPath.'",
|
||||
called_method: "'.$calledMethod.'",
|
||||
user_language: "'.$user_language.'"
|
||||
called_method: "'.$calledMethod.'"
|
||||
};';
|
||||
$toPrint .= "\n";
|
||||
$toPrint .= '</script>';
|
||||
|
||||
@@ -16,8 +16,11 @@ $this->load->view(
|
||||
'tablewidget' => true,
|
||||
'phrases' => array(
|
||||
'global' => array(
|
||||
'lehrauftraegeAnnehmen'
|
||||
),
|
||||
'lehrauftraegeAnnehmen',
|
||||
'dokumentePDF',
|
||||
'PDFLehrauftraegeFH',
|
||||
'PDFLehrauftraegeLehrgaenge'
|
||||
),
|
||||
'ui' => array(
|
||||
'anzeigen',
|
||||
'alleAnzeigen',
|
||||
@@ -46,14 +49,39 @@ $this->load->view(
|
||||
'vertragWurdeStorniert',
|
||||
),
|
||||
'password' => array('password'),
|
||||
'dms' => array('informationsblattExterneLehrende')
|
||||
'dms' => array('informationsblattExterneLehrende'),
|
||||
'table' => array(
|
||||
'spaltenEinAusblenden',
|
||||
'spaltenEinAusblendenMitKlickOeffnen',
|
||||
'spaltenEinAusblendenAufEinstellungenKlicken',
|
||||
'spaltenEinAusblendenMitKlickAktivieren',
|
||||
'spaltenEinAusblendenMitKlickSchliessen',
|
||||
'spaltenbreiteVeraendern',
|
||||
'spaltenbreiteVeraendernText',
|
||||
'spaltenbreiteVeraendernInfotext',
|
||||
'zeilenAuswaehlen',
|
||||
'zeilenAuswaehlenEinzeln',
|
||||
'zeilenAuswaehlenBereich',
|
||||
'zeilenAuswaehlenAlle'
|
||||
),
|
||||
'lehre' => array(
|
||||
'lehrauftraegeAnnehmen',
|
||||
'lehrauftraegeAnnehmenText',
|
||||
'lehrauftraegeAnnehmenKlickStatusicon',
|
||||
'lehrauftraegeAnnehmenLehrauftraegeWaehlen',
|
||||
'lehrauftraegeAnnehmenMitKlickAnnehmen',
|
||||
'lehrauftraegeNichtAuswaehlbar',
|
||||
'lehrauftraegeNichtAuswaehlbarTextBeiAnnahme',
|
||||
'filterAlleBeiAnnahme',
|
||||
'filterErteiltBeiAnnahme',
|
||||
'filterAngenommen'
|
||||
)
|
||||
),
|
||||
'customJSs' => array(
|
||||
'public/js/bootstrapper.js',
|
||||
'public/js/lehre/lehrauftrag/acceptLehrauftrag.js')
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
<body>
|
||||
@@ -76,7 +104,7 @@ $this->load->view(
|
||||
<div class="row">
|
||||
<div class="col-lg-12 collapse" id="collapseHelp">
|
||||
<div class="well">
|
||||
<?php echo _getHelptext(getUserLanguage()); ?>
|
||||
<?php $this->load->view('lehre/lehrauftrag/acceptLehrauftragHelp') ?>
|
||||
</div> <!--./well-->
|
||||
</div>
|
||||
</div>
|
||||
@@ -123,7 +151,7 @@ $this->load->view(
|
||||
<br>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- filter buttons & password field & akzeptieren-button -->
|
||||
<!-- filter buttons & PDF downloads & password field & akzeptieren-button -->
|
||||
<div class="row">
|
||||
<div class="col-xs-5 col-md-4">
|
||||
<div class="btn-toolbar" role="toolbar">
|
||||
@@ -150,11 +178,11 @@ $this->load->view(
|
||||
<div class="col-xs-3 col-md-offset-2 col-md-2">
|
||||
<div class="btn-group dropup pull-right">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Dokumente PDF <i class="fa fa-arrow-down"></i> <span class="caret"></span>
|
||||
<?php echo $this->p->t('global', 'dokumentePDF'); ?> <i class="fa fa-arrow-down"></i> <span class="caret"></span>
|
||||
</button>
|
||||
<ul id="ul-download-pdf" class="dropdown-menu">
|
||||
<li value="etw"><a href="#">PDF Lehraufträge FH</a></li>
|
||||
<li value="lehrgang"><a href="#">PDF Lehraufträge Lehrgänge</a></li>
|
||||
<li value="etw"><a href="#"><?php echo $this->p->t('global', 'PDFLehrauftraegeFH'); ?></a></li>
|
||||
<li value="lehrgang"><a href="#"><?php echo $this->p->t('global', 'PDFLehrauftraegeLehrgaenge'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -197,97 +225,3 @@ $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;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftraegeAnnehmen'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'lehrauftraegeAnnehmenText'); ?>
|
||||
<ol>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeAnnehmenKlickStatusicon'); ?></li>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeAnnehmenLehrauftraegeWaehlen'); ?></li>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeAnnehmenMitKlickAnnehmen'); ?></li>
|
||||
</ol>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftraegeNichtAuswaehlbar'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'lehrauftraegeNichtAuswaehlbarTextBeiAnnahme'); ?>
|
||||
</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-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><?php echo $this->p->t('lehre', 'filterAlleBeiAnnahme'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterErteiltBeiAnnahme'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterAngenommen'); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
@@ -16,7 +16,11 @@ $this->load->view(
|
||||
'tablewidget' => true,
|
||||
'navigationwidget' => true,
|
||||
'phrases' => array(
|
||||
'global' => array('lehrauftraegeErteilen'),
|
||||
'global' => array(
|
||||
'lehrauftraegeErteilen',
|
||||
'mehrHilfe',
|
||||
'weitereInformationenUnter'
|
||||
),
|
||||
'ui' => array(
|
||||
'anzeigen',
|
||||
'alleAnzeigen',
|
||||
@@ -45,7 +49,43 @@ $this->load->view(
|
||||
'letzterStatusBestellt',
|
||||
'letzterStatusErteilt',
|
||||
'letzterStatusAngenommen',
|
||||
)
|
||||
),
|
||||
'table' => array(
|
||||
'spaltenEinAusblenden',
|
||||
'spaltenEinAusblendenMitKlickOeffnen',
|
||||
'spaltenEinAusblendenAufEinstellungenKlicken',
|
||||
'spaltenEinAusblendenMitKlickAktivieren',
|
||||
'spaltenEinAusblendenMitKlickSchliessen',
|
||||
'spaltenbreiteVeraendern',
|
||||
'spaltenbreiteVeraendernText',
|
||||
'spaltenbreiteVeraendernInfotext',
|
||||
'zeilenAuswaehlen',
|
||||
'zeilenAuswaehlenEinzeln',
|
||||
'zeilenAuswaehlenBereich',
|
||||
'zeilenAuswaehlenAlle'
|
||||
),
|
||||
'lehre' => array(
|
||||
'lehrauftragStandardBestellprozess',
|
||||
'lehrauftragStandardBestellprozessBestellen',
|
||||
'lehrauftragStandardBestellprozessErteilen',
|
||||
'lehrauftragStandardBestellprozessAnnehmen',
|
||||
'lehrauftraegeErteilen',
|
||||
'lehrauftraegeErteilenText',
|
||||
'lehrauftraegeErteilenKlickStatusicon',
|
||||
'lehrauftraegeErteilenLehrauftraegeWaehlen',
|
||||
'lehrauftraegeErteilenMitKlickErteilen',
|
||||
'geaenderteLehrauftraege',
|
||||
'geaenderteLehrauftraegeTextBeiErteilung',
|
||||
'lehrauftraegeNichtAuswaehlbar',
|
||||
'lehrauftraegeNichtAuswaehlbarTextBeiErteilung',
|
||||
'filterAlle',
|
||||
'filterNeu',
|
||||
'filterBestellt',
|
||||
'filterErteilt',
|
||||
'filterAngenommen',
|
||||
'filterGeaendert',
|
||||
'filterDummies'
|
||||
)
|
||||
),
|
||||
'customJSs' => array(
|
||||
'public/js/bootstrapper.js',
|
||||
@@ -53,7 +93,6 @@ $this->load->view(
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
<body>
|
||||
@@ -77,7 +116,7 @@ $this->load->view(
|
||||
<div class="row">
|
||||
<div class="col-lg-12 collapse" id="collapseHelp">
|
||||
<div class="well">
|
||||
<?php echo _getHelptext(getUserLanguage()); ?>
|
||||
<?php $this->load->view('lehre/lehrauftrag/approveLehrauftragHelp') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -171,127 +210,3 @@ $this->load->view(
|
||||
</body>
|
||||
|
||||
<?php $this->load->view('templates/FHC-Footer'); ?>
|
||||
|
||||
<?php
|
||||
|
||||
function _getHelptext($user_language)
|
||||
{
|
||||
$html = '';
|
||||
|
||||
if ($user_language == 'German')
|
||||
{
|
||||
$html = <<<EOT
|
||||
<h4>Lehrauftrag Standard-Bestellprozess</h4>
|
||||
<div class="panel panel-body">
|
||||
<table>
|
||||
<tr class="text-center">
|
||||
<td><img src="../../../public/images/icons/fa-user-tag.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><img src="../../../public/images/icons/fa-user-check.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><i class='fa fa-2x fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td class="text-muted">BESTELLEN<br>(Studiengangsleitung)</td>
|
||||
<td></td>
|
||||
<td><b>ERTEILEN<br>(Department-/Kompetenzfeldleitung)</b></td>
|
||||
<td></td>
|
||||
<td class="text-muted">ANNEHMEN<br>(LektorIn)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Lehraufträge erteilen</h4>
|
||||
<div class="panel panel-body">
|
||||
Sobald Lehraufträge bestellt wurden, können Sie diese hier erteilen.<br>
|
||||
Erteilte Lehraufträge können von den Lehrenden angenommen werden.<br>
|
||||
<ol>
|
||||
<li>Klicken Sie unten auf das Status-Icon 'Nur bestellte anzeigen' oder 'Alle anzeigen'</li>
|
||||
<li>Wählen Sie die zu erteilenden Lehraufträge selbst oder alle über den Button 'Alle auswählen'.</li>
|
||||
<li>Klicken Sie auf Lehrauftrag erteilen.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Geänderte Lehraufträge</h4>
|
||||
<div class="panel panel-body">
|
||||
Im FAS können Änderungen an Stunden/Stundensatz eines Lehrauftrags durchgeführt werden, solange dieser nicht vom Lehrenden angenommen wurde.<br>
|
||||
Wenn Änderungen an bereits bestellten oder erteilten Lehraufträgen vorgenommen wurden, müssen diese vom Studiengang erneut bestellt werden.<br>
|
||||
Bei bereits erteilten Lehraufträgen wird zusätzlich der Status 'erteilt' zurückgesetzt.
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Warum kann ich manche Lehraufträge nicht auswählen?</h4>
|
||||
<div class="panel panel-body">
|
||||
Nur Lehraufträge mit dem Status 'bestellt' können gewählt werden.<br>
|
||||
Neue, Bestellte, Akzeptierte oder geänderte Lehraufträge werden nur zu Ihrer Information angezeigt und sind daher NICHT wählbar.
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Filter</h4>
|
||||
<div class="panel panel-body">
|
||||
<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"><i class='fa fa-user-plus'></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>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-edit.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><i class='fa fa-user-secret'></i></td>
|
||||
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><b>Alle</b><br>Alle Lehraufträge mit jedem Status, auch geänderte und Dummy-Aufträge</td>
|
||||
<td><b>Neu</b><br>Nur Lehraufträge, die im FAS über die Zuteilung eines Lehrenden zu einer Lehreinheit/einem Projekt angelegt und noch nicht bestellt worden sind</td>
|
||||
<td><b>Bestellt</b><br>Nur bestellte UND geänderte bestellte Lehraufträge</td>
|
||||
<td><b>Erteilt</b><br>Nur erteilte UND geänderte erteilte Lehraufträge</td>
|
||||
<td><b>Angenommen</b><br>Nur vom Lehrenden angenommene Lehraufträge</td>
|
||||
<td><b>Geändert</b><br>Nur Lehraufträge, die geändert wurden, nachdem sie bereits bestellt oder erteilt worden sind</td>
|
||||
<td><b>Dummies</b><br>Nur Lehraufträge, die mit einem Dummylektor angelegt sind</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Mehr Hilfe?</h4>
|
||||
<div class="panel panel-info panel-body">
|
||||
Weitere Informationen unter <a href="https://wiki.fhcomplete.org/doku.php?id=fhc:lehrauftraege" target="_blank">FH Complete WIKI</a>
|
||||
</div><br>
|
||||
EOT;
|
||||
}
|
||||
elseif ($user_language == 'English')
|
||||
{
|
||||
$html = <<<EOT
|
||||
<h4>Standard Ordering Process for Teaching Lectureships</h4>
|
||||
<div class = "panel panel-body">
|
||||
<table>
|
||||
<tr class = "text-center">
|
||||
<td><img src = "../../../public/images/icons/fa-user-tag.png" style = "height: 60px; width: 60px;"></td>
|
||||
<td><i class = 'fa fa-2x fa-long-arrow-right'> </i> </td>
|
||||
<td><img src = "../../../public/images/icons/fa-user-check.png" style = "height: 60px; width: 60px;"></td>
|
||||
<td><i class = 'fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><i class = 'fa fa-2x fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class = "text-center">
|
||||
<td class = "text-muted"><b>ORDER<br> (Study course Director)</b></td>
|
||||
<td></td>
|
||||
<td>APPROVEMENT<br> (Department- / Competence field Manager)</td>
|
||||
<td></td>
|
||||
<td class = "text-muted">ACCEPTANCE<br> (Lecturer)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Need more Help?</h4>
|
||||
<div class="panel panel-info panel-body">
|
||||
For further information please go to <a href="https://wiki.fhcomplete.org/doku.php?id=fhc:lehrauftraege" target="_blank">FH Complete WIKI</a>
|
||||
</div><br>
|
||||
EOT;
|
||||
}
|
||||
return $html;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozess'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<table>
|
||||
<tr class="text-center">
|
||||
<td><img src="../../../public/images/icons/fa-user-tag.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><img src="../../../public/images/icons/fa-user-check.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><i class='fa fa-2x fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td class="text-muted"><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozessBestellen'); ?></td>
|
||||
<td></td>
|
||||
<td><b><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozessErteilen'); ?></b></td>
|
||||
<td></td>
|
||||
<td class="text-muted"><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozessAnnehmen'); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftraegeErteilen'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'lehrauftraegeErteilenText'); ?>
|
||||
<ol>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeErteilenKlickStatusicon'); ?></li>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeErteilenLehrauftraegeWaehlen'); ?></li>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeErteilenMitKlickErteilen'); ?></li>
|
||||
</ol>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('lehre', 'geaenderteLehrauftraege'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'geaenderteLehrauftraegeTextBeiErteilung'); ?>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftraegeNichtAuswaehlbar'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'lehrauftraegeNichtAuswaehlbarTextBeiErteilung'); ?>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Filter</h4>
|
||||
<div class="panel panel-body">
|
||||
<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"><i class='fa fa-user-plus'></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>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-edit.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><i class='fa fa-user-secret'></i></td>
|
||||
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><?php echo $this->p->t('lehre', 'filterAlle'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterNeu'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterBestellt'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterErteilt'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterAngenommen'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterGeaendert'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterDummies'); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('global', 'mehrHilfe'); ?></h4>
|
||||
<div class="panel panel-info panel-body">
|
||||
<?php echo $this->p->t('global', 'weitereInformationenUnter'); ?><a href="https://wiki.fhcomplete.org/doku.php?id=fhc:lehrauftraege" target="_blank">FH Complete WIKI</a>
|
||||
</div><br>
|
||||
@@ -16,7 +16,11 @@ $this->load->view(
|
||||
'tablewidget' => true,
|
||||
'navigationwidget' => true,
|
||||
'phrases' => array(
|
||||
'global' => array('lehrauftraegeBestellen'),
|
||||
'global' => array(
|
||||
'lehrauftraegeBestellen',
|
||||
'mehrHilfe',
|
||||
'weitereInformationenUnter'
|
||||
),
|
||||
'ui' => array(
|
||||
'anzeigen',
|
||||
'alleAnzeigen',
|
||||
@@ -44,7 +48,44 @@ $this->load->view(
|
||||
'letzterStatusAngenommen',
|
||||
'nachAenderungStundensatzStunden',
|
||||
'vorAenderungStundensatzStunden'
|
||||
)
|
||||
),
|
||||
'table' => array(
|
||||
'spaltenEinAusblenden',
|
||||
'spaltenEinAusblendenMitKlickOeffnen',
|
||||
'spaltenEinAusblendenAufEinstellungenKlicken',
|
||||
'spaltenEinAusblendenMitKlickAktivieren',
|
||||
'spaltenEinAusblendenMitKlickSchliessen',
|
||||
'spaltenbreiteVeraendern',
|
||||
'spaltenbreiteVeraendernText',
|
||||
'spaltenbreiteVeraendernInfotext',
|
||||
'zeilenAuswaehlen',
|
||||
'zeilenAuswaehlenEinzeln',
|
||||
'zeilenAuswaehlenBereich',
|
||||
'zeilenAuswaehlenAlle'
|
||||
),
|
||||
'lehre' => array(
|
||||
'lehrauftragStandardBestellprozess',
|
||||
'lehrauftragStandardBestellprozessBestellen',
|
||||
'lehrauftragStandardBestellprozessErteilen',
|
||||
'lehrauftragStandardBestellprozessAnnehmen',
|
||||
'lehrauftraegeBestellen',
|
||||
'lehrauftraegeBestellenText',
|
||||
'lehrauftraegeBestellenKlickStatusicon',
|
||||
'lehrauftraegeBestellenLehrauftraegeWaehlen',
|
||||
'lehrauftraegeBestellenMitKlickBestellen',
|
||||
'lehrauftraegeBestellenVertragWirdAngelegt',
|
||||
'geaenderteLehrauftraege',
|
||||
'geaenderteLehrauftraegeText',
|
||||
'lehrauftraegeNichtAuswaehlbar',
|
||||
'lehrauftraegeNichtAuswaehlbarText',
|
||||
'filterAlle',
|
||||
'filterNeu',
|
||||
'filterBestellt',
|
||||
'filterErteilt',
|
||||
'filterAngenommen',
|
||||
'filterGeaendert',
|
||||
'filterDummies'
|
||||
)
|
||||
),
|
||||
'customJSs' => array(
|
||||
'public/js/bootstrapper.js',
|
||||
@@ -75,7 +116,7 @@ $this->load->view(
|
||||
<div class="row">
|
||||
<div class="col-lg-12 collapse" id="collapseHelp">
|
||||
<div class="well">
|
||||
<?php echo _getHelptext(getUserLanguage()); ?>
|
||||
<?php $this->load->view('lehre/lehrauftrag/orderLehrauftragHelp') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -163,130 +204,4 @@ $this->load->view(
|
||||
<br>
|
||||
</body>
|
||||
|
||||
<?php $this->load->view('templates/FHC-Footer'); ?>
|
||||
|
||||
<?php
|
||||
|
||||
function _getHelptext($user_language)
|
||||
{
|
||||
$html = '';
|
||||
|
||||
if ($user_language == 'German')
|
||||
{
|
||||
$html = <<<EOT
|
||||
<h4>Lehrauftrag Standard-Bestellprozess</h4>
|
||||
<div class="panel panel-body">
|
||||
<table>
|
||||
<tr class="text-center">
|
||||
<td><img src="../../../public/images/icons/fa-user-tag.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><img src="../../../public/images/icons/fa-user-check.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><i class='fa fa-2x fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><b>BESTELLEN<br>(Studiengangsleitung)</b></td>
|
||||
<td></td>
|
||||
<td class="text-muted">ERTEILEN<br>(Department-/Kompetenzfeldleitung)</td>
|
||||
<td></td>
|
||||
<td class="text-muted">ANNEHMEN<br>(LektorIn)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Lehraufträge bestellen</h4>
|
||||
<div class="panel panel-body">
|
||||
Sobald im FAS ein Lehrauftrag/eine Projektbetreuung angelegt wurde, können Sie diese hier bestellen.<br>
|
||||
Bestellte Lehraufträge sind zur Erteilung freigegeben.<br>
|
||||
<ol>
|
||||
<li>Klicken Sie unten auf das Status-Icon 'Nur neue anzeigen', 'Nur geänderte anzeigen' oder 'Alle anzeigen'</li>
|
||||
<li>Wählen Sie die zu bestellenden Lehraufträge selbst oder über den Button 'Alle auswählen'.</li>
|
||||
<li>Klicken Sie auf Lehrauftrag bestellen.</li>
|
||||
</ol>
|
||||
Für jeden bestellten Lehrauftrag legt das System einen Vertrag an.
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Geänderte Lehraufträge</h4>
|
||||
<div class="panel panel-body">
|
||||
Im FAS können Änderungen an Stunden/Stundensatz eines Lehrauftrags durchgeführt werden, solange dieser nicht vom Lehrenden angenommen wurde.<br>
|
||||
Diese müssen dann erneut bestellt werden.<br><br>
|
||||
Wenn Änderungen an bereits bestellten oder erteilten Lehraufträgen vorgenommen wurden, werden diese in einem tooltip angezeigt.<br>
|
||||
Fahren Sie dazu mit der Maus über dem Status-Icon am Beginn der Zeile.<br>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Warum kann ich manche Lehraufträge nicht auswählen?</h4>
|
||||
<div class="panel panel-body">
|
||||
Nur Lehraufträge mit dem Status 'neu' und 'geändert' können bestellt werden.<br>
|
||||
Erteilte oder akzeptierte Lehraufträge werden nur zu Ihrer Information angezeigt und sind daher NICHT wählbar.
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Filter</h4>
|
||||
<div class="panel panel-body">
|
||||
<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"><i class='fa fa-user-plus'></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>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-edit.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><i class='fa fa-user-secret'></i></td>
|
||||
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><b>Alle</b><br>Alle Lehraufträge mit jedem Status, auch geänderte und Dummy-Aufträge</td>
|
||||
<td><b>Neu</b><br>Nur Lehraufträge, die im FAS über die Zuteilung eines Lehrenden zu einer Lehreinheit/einem Projekt angelegt und noch nicht bestellt worden sind</td>
|
||||
<td><b>Bestellt</b><br>Nur bestellte UND geänderte bestellte Lehraufträge</td>
|
||||
<td><b>Erteilt</b><br>Nur erteilte UND geänderte erteilte Lehraufträge</td>
|
||||
<td><b>Angenommen</b><br>Nur vom Lehrenden angenommene Lehraufträge</td>
|
||||
<td><b>Geändert</b><br>Nur Lehraufträge, die geändert wurden, nachdem sie bereits bestellt oder erteilt worden sind</td>
|
||||
<td><b>Dummies</b><br>Nur Lehraufträge, die mit einem Dummylektor angelegt sind</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Mehr Hilfe?</h4>
|
||||
<div class="panel panel-info panel-body">
|
||||
Weitere Informationen unter <a href="https://wiki.fhcomplete.org/doku.php?id=fhc:lehrauftraege" target="_blank">FH Complete WIKI</a>
|
||||
</div><br>
|
||||
EOT;
|
||||
}
|
||||
elseif ($user_language == 'English')
|
||||
{
|
||||
$html = <<<EOT
|
||||
<h4>Standard Ordering Process for Teaching Lectureships</h4>
|
||||
<div class = "panel panel-body">
|
||||
<table>
|
||||
<tr class = "text-center">
|
||||
<td><img src = "../../../public/images/icons/fa-user-tag.png" style = "height: 60px; width: 60px;"></td>
|
||||
<td><i class = 'fa fa-2x fa-long-arrow-right'> </i> </td>
|
||||
<td><img src = "../../../public/images/icons/fa-user-check.png" style = "height: 60px; width: 60px;"></td>
|
||||
<td><i class = 'fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><i class = 'fa fa-2x fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class = "text-center">
|
||||
<td><b>ORDER<br>(Study course Director)</b></td>
|
||||
<td> </td>
|
||||
<td class = "text-muted">APPROVEMENT<br>(Department- / Competence field Manager)</td>
|
||||
<td></td>
|
||||
<td class = "text-muted">ACCEPTANCE<br>(Lecturer)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Need more Help?</h4>
|
||||
<div class="panel panel-info panel-body">
|
||||
For further information please go to <a href="https://wiki.fhcomplete.org/doku.php?id=fhc:lehrauftraege" target="_blank">FH Complete WIKI</a>
|
||||
</div><br>
|
||||
EOT;
|
||||
}
|
||||
return $html;
|
||||
}
|
||||
|
||||
?>
|
||||
<?php $this->load->view('templates/FHC-Footer'); ?>
|
||||
@@ -0,0 +1,77 @@
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozess'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<table>
|
||||
<tr class="text-center">
|
||||
<td><img src="../../../public/images/icons/fa-user-tag.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><img src="../../../public/images/icons/fa-user-check.png" style="height: 60px; width: 60px;"></td>
|
||||
<td><i class='fa fa-2x fa-long-arrow-right'></i></td>
|
||||
<td><i class='fa fa-2x fa-handshake-o'></i></td>
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><b><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozessBestellen'); ?></b></td>
|
||||
<td></td>
|
||||
<td class="text-muted"><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozessErteilen'); ?></td>
|
||||
<td></td>
|
||||
<td class="text-muted"><?php echo $this->p->t('lehre', 'lehrauftragStandardBestellprozessAnnehmen'); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftraegeBestellen'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'lehrauftraegeBestellenText'); ?>
|
||||
<br>
|
||||
<ol>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeBestellenKlickStatusicon'); ?></li>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeBestellenLehrauftraegeWaehlen'); ?></li>
|
||||
<li><?php echo $this->p->t('lehre', 'lehrauftraegeBestellenMitKlickBestellen'); ?></li>
|
||||
</ol>
|
||||
<?php echo $this->p->t('lehre', 'lehrauftraegeBestellenVertragWirdAngelegt'); ?>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('lehre', 'geaenderteLehrauftraege'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'geaenderteLehrauftraegeText'); ?>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('lehre', 'lehrauftraegeNichtAuswaehlbar'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<?php echo $this->p->t('lehre', 'lehrauftraegeNichtAuswaehlbarText'); ?>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4>Filter</h4>
|
||||
<div class="panel panel-body">
|
||||
<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"><i class='fa fa-user-plus'></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>
|
||||
<td class="col-xs-1"><img src="../../../public/images/icons/fa-user-edit.png" style="height: 30px; width: 30px;"></td>
|
||||
<td class="col-xs-1"><i class='fa fa-user-secret'></i></td>
|
||||
|
||||
</tr>
|
||||
<tr class="text-center">
|
||||
<td><?php echo $this->p->t('lehre', 'filterAlle'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterNeu'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterBestellt'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterErteilt'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterAngenommen'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterGeaendert'); ?></td>
|
||||
<td><?php echo $this->p->t('lehre', 'filterDummies'); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<h4><?php echo $this->p->t('global', 'mehrHilfe'); ?></h4>
|
||||
<div class="panel panel-info panel-body">
|
||||
<?php echo $this->p->t('global', 'weitereInformationenUnter'); ?>
|
||||
<a href="https://wiki.fhcomplete.org/doku.php?id=fhc:lehrauftraege" target="_blank">FH Complete WIKI</a>
|
||||
</div><br>
|
||||
@@ -4,7 +4,10 @@
|
||||
|
||||
<!-- Table widget header -->
|
||||
<div id="tableWidgetHeader"></div>
|
||||
|
||||
|
||||
<!-- TableWidget help site ( only rendered if widget is Tabulator )-->
|
||||
<?php $this->load->view('widgets/table/tableHelpsite') ?>
|
||||
|
||||
<!-- Table info top -->
|
||||
<div id="tableDatasetActionsTop"></div>
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<!--CollapseHTML 'Help'-->
|
||||
<div class="row">
|
||||
<div class="col-lg-12 collapse" id="tabulatorHelp-<?php echo $tableUniqueId; ?>">
|
||||
<div class="well">
|
||||
|
||||
<h4><?php echo ucfirst($this->p->t('ui', 'tabelleneinstellungen')); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<b><?php echo $this->p->t('table', 'spaltenEinAusblenden'); ?></b>
|
||||
<p>
|
||||
<ul>
|
||||
<li><?php echo $this->p->t('table', 'spaltenEinAusblendenMitKlickOeffnen'); ?></li>
|
||||
<li><?php echo $this->p->t('table', 'spaltenEinAusblendenAufEinstellungenKlicken'); ?></li>
|
||||
<li><?php echo $this->p->t('table', 'spaltenEinAusblendenMitKlickAktivieren'); ?></li>
|
||||
<li><?php echo $this->p->t('table', 'spaltenEinAusblendenMitKlickSchliessen'); ?></li>
|
||||
</ul>
|
||||
</p>
|
||||
<br>
|
||||
<b><?php echo $this->p->t('table', 'spaltenbreiteVeraendern'); ?></b>
|
||||
<p><?php echo $this->p->t('table', 'spaltenbreiteVeraendernText'); ?></p>
|
||||
<div class="alert alert-info">
|
||||
<strong>INFO: </strong>
|
||||
<?php echo $this->p->t('table', 'spaltenbreiteVeraendernInfotext'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<br> <!--end panel-body-->
|
||||
|
||||
<h4><?php echo $this->p->t('table', 'zeilenAuswaehlen'); ?></h4>
|
||||
<div class="panel panel-body">
|
||||
<ul>
|
||||
<li><?php echo $this->p->t('table', 'zeilenAuswaehlenEinzeln'); ?></li>
|
||||
<li><?php echo $this->p->t('table', 'zeilenAuswaehlenBereich'); ?></li>
|
||||
<li><?php echo $this->p->t('table', 'zeilenAuswaehlenAlle'); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
<br> <!--end panel-body-->
|
||||
|
||||
</div><!--end well-->
|
||||
</div><!--end col collapse-->
|
||||
</div><!--end row-->
|
||||
@@ -563,7 +563,7 @@ var FHC_TableWidget = {
|
||||
tableWidgetDiv.find('#tableWidgetHeader').append(tabulatorHeaderHTML);
|
||||
|
||||
// Render the collapsable div triggered by button in tableWidgetHeader
|
||||
var tabulatorHeaderCollapseHTML = _renderTabulatorHeaderCollapseHTML(tableWidgetDiv, FHC_JS_DATA_STORAGE_OBJECT.user_language);
|
||||
var tabulatorHeaderCollapseHTML = _renderTabulatorHeaderCollapseHTML(tableWidgetDiv);
|
||||
tableWidgetDiv.find('#tableWidgetHeader').after(tabulatorHeaderCollapseHTML);
|
||||
|
||||
/**
|
||||
@@ -777,7 +777,7 @@ function _renderTabulatorHeaderHTML(tableWidgetDiv){
|
||||
}
|
||||
|
||||
// Returns collapsable HTML element for TableWidget header buttons
|
||||
function _renderTabulatorHeaderCollapseHTML(tableWidgetDiv, language){
|
||||
function _renderTabulatorHeaderCollapseHTML(tableWidgetDiv){
|
||||
|
||||
var tableUniqueId = tableWidgetDiv.attr('tableUniqueId');
|
||||
|
||||
@@ -837,85 +837,6 @@ function _renderTabulatorHeaderCollapseHTML(tableWidgetDiv, language){
|
||||
tabulatorHeaderCollapseHTML += ' </div>'; // end col
|
||||
tabulatorHeaderCollapseHTML += ' </div>'; // end row
|
||||
|
||||
// CollapseHTML 'Help'
|
||||
tabulatorHeaderCollapseHTML += '<div class="row">';
|
||||
tabulatorHeaderCollapseHTML += '<div class="col-lg-12 collapse" id="tabulatorHelp-'+ tableUniqueId + '">';
|
||||
tabulatorHeaderCollapseHTML += '<div class="well">';
|
||||
|
||||
if (language == 'German')
|
||||
{
|
||||
tabulatorHeaderCollapseHTML += '<h4>Tabelleneinstellungen</h4>';
|
||||
tabulatorHeaderCollapseHTML += '<div class="panel panel-body">';
|
||||
tabulatorHeaderCollapseHTML += '<b>Spalten ein- und ausblenden</b>';
|
||||
tabulatorHeaderCollapseHTML += '<p>';
|
||||
tabulatorHeaderCollapseHTML += '<ul>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Mit einem Klick auf <button><i class="fa fa-cog"></i></button> ' +
|
||||
'werden die Einstellungen geöffnet.</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Auf Spalteneinstellungen klicken</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Durch (wiederholtes) Klicken auf die einzelnen Spaltennamen können ' +
|
||||
'diese in der Tabelle beliebig oft aktiviert / deaktiviert werden.</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Mit einem Klick auf <button><i class="fa fa-cog"></i></button> ' +
|
||||
'werden die Einstellungen wieder geschlossen.</li>';
|
||||
tabulatorHeaderCollapseHTML += '</ul>';
|
||||
tabulatorHeaderCollapseHTML += '</p>';
|
||||
tabulatorHeaderCollapseHTML += '<b>Spaltenbreite verändern</b>';
|
||||
tabulatorHeaderCollapseHTML += '<p>Um die Spaltenbreite zu verändern, fährt man im Spaltenkopf langsam ' +
|
||||
'mit dem Mauszeiger auf den rechten Rand der entprechenden Spalte. <br>' +
|
||||
'Sobald sich der Mauszeiger in einen Doppelpfeil verwandelt, wird die Maustaste geklickt und ' +
|
||||
'mit gedrückter Maustaste die Spalte nach rechts erweitert oder nach links verkleinert.';
|
||||
tabulatorHeaderCollapseHTML += '</p>';
|
||||
tabulatorHeaderCollapseHTML += '<div class="alert alert-info"><strong>INFO: </strong>Alle individuellen Tabelleneinstellungen werden in ' +
|
||||
'Ihrem Browser Cache gespeichert. Wenn Sie Ihren Browser Cache löschen, werden Ihre Einstellungen zurückgesetzt und ' +
|
||||
'müssen gegebenenfalls neu eingestellt werden.';
|
||||
tabulatorHeaderCollapseHTML += '</div>';
|
||||
tabulatorHeaderCollapseHTML += '</div><br>'; // end panel-body
|
||||
|
||||
tabulatorHeaderCollapseHTML += '<h4>Zeilen auswählen</h4>';
|
||||
tabulatorHeaderCollapseHTML += '<div class="panel panel-body">';
|
||||
tabulatorHeaderCollapseHTML += '<ul>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Einzeln auswählen: <kbd>Strg</kbd> + Klick auf einzelne Zeile(n)</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Bereich auswählen: <kbd>Shift</kbd> + Klick auf Anfangs- und Endzeile</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Alle auswählen: Button \'Alle auswählen\'</li>';
|
||||
tabulatorHeaderCollapseHTML += '</ul>';
|
||||
tabulatorHeaderCollapseHTML += '</div><br>'; // end panel-body
|
||||
}
|
||||
else if (language == 'English')
|
||||
{
|
||||
tabulatorHeaderCollapseHTML += '<h4>Table settings</h4>';
|
||||
tabulatorHeaderCollapseHTML += '<div class = "panel panel-body">';
|
||||
tabulatorHeaderCollapseHTML += '<b>Show and hide columns</b>';
|
||||
tabulatorHeaderCollapseHTML += '<p>';
|
||||
tabulatorHeaderCollapseHTML += '<ul>';
|
||||
tabulatorHeaderCollapseHTML += '<li>With a click on <button><i class = "fa fa-cog"></i></button> the settings will open.</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Click on column settings</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>By clicking on the individual column names the columns are shown / hidden in the table. Click again to gain the opposite state.</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>With a click on <button><i class = "fa fa-cog"></i></button> the settings will be closed again. </li>';
|
||||
tabulatorHeaderCollapseHTML += '</ul>';
|
||||
tabulatorHeaderCollapseHTML += '</p>';
|
||||
tabulatorHeaderCollapseHTML += '<b>Change column width</b>';
|
||||
tabulatorHeaderCollapseHTML += '<p>To change the column width, slowly hover with the mouse pointer on the right edge of the corresponding column header.<br>' +
|
||||
'As soon as the mouse pointer changes into a double arrow, click the mouse button and ' +
|
||||
'keep it pressed while expanding the column width to the right or reducing the width to the left.';
|
||||
tabulatorHeaderCollapseHTML += '</p>';
|
||||
tabulatorHeaderCollapseHTML += '<div class = "alert alert-info"><strong> INFO: </strong>' +
|
||||
'All individual table settings are saved in your browser cache. If you clear your browser cache, ' +
|
||||
'your settings will be erased.';
|
||||
tabulatorHeaderCollapseHTML += '</div>';
|
||||
tabulatorHeaderCollapseHTML += '</div><br>';
|
||||
tabulatorHeaderCollapseHTML += '<h4>Select rows</h4>';
|
||||
tabulatorHeaderCollapseHTML += '<div class = "panel panel-body">';
|
||||
tabulatorHeaderCollapseHTML += '<ul>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Select individually: <kbd> Ctrl </kbd> + click on single line (s)</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Select a range: <kbd> Shift </kbd> + click on the start and end line</li>';
|
||||
tabulatorHeaderCollapseHTML += '<li>Select all: Button \'Select all \' </li>';
|
||||
tabulatorHeaderCollapseHTML += '</ul>';
|
||||
tabulatorHeaderCollapseHTML += '</div><br>';
|
||||
}
|
||||
|
||||
tabulatorHeaderCollapseHTML += '</div>'; // end well
|
||||
tabulatorHeaderCollapseHTML += ' </div>'; // end col collapse
|
||||
tabulatorHeaderCollapseHTML += ' </div>'; // end row
|
||||
|
||||
return tabulatorHeaderCollapseHTML;
|
||||
}
|
||||
|
||||
|
||||
@@ -539,7 +539,7 @@ erteilt_tooltip = function(cell){
|
||||
// Generates akzeptiert tooltip
|
||||
akzeptiert_tooltip = function(cell){
|
||||
if (cell.getRow().getData().akzeptiert_von != null) {
|
||||
return FHC_PhrasesLib.t("ui", "akzeptiertVon") + cell.getRow().getData().akzeptiert_von;
|
||||
return FHC_PhrasesLib.t("ui", "angenommenVon") + cell.getRow().getData().akzeptiert_von;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1114
-3
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user