mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-19 09:12:30 +02:00
* Added German Translations Translated using https://docs.djangoproject.com/en/1.9/topics/i18n/translation/ Added language drop down menu's for base.html, registration & login pages Known issues: * Translated items in whtracker>create signature remain translated when posted * No date/time localisation for Fleet/Structure timers * Added time locale Added date/time locale to *Structure Timers *Fleet Timers *Fleet timer form datetimepicker.js Fixed a bug where the bootstrap label didn't show up when making a structure timer using the translated form Missed some base.html translations * Small translation error Some obscure SRP strings went unnoticed for context review * FAT & Fleet-up German Translations + a fix in settings.py.example The only small thing not done is German Date/Time locale for Fleet-up * Compiled de/django.po
86 lines
5.3 KiB
HTML
86 lines
5.3 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans "Notifications" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">{% trans "Notifications" %}</h1>
|
|
<div class="col-lg-12 container" id="example">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a data-toggle="tab" href="#unread">{% trans "Unread" %} <b>({{unread|length}})</b></a></li>
|
|
<li><a data-toggle="tab" href="#read">{% trans "Read" %} <b>({{read|length}})</b></a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div id="unread" class="tab-pane fade in active">
|
|
<div class="panel-body">
|
|
<div class="table-responsive">
|
|
<table class="table table-condensed table-hover table-striped">
|
|
<tr>
|
|
<th class="text-center">{% trans "Timestamp" %}</th>
|
|
<th class="text-center">{% trans "Title" %}</th>
|
|
<th class="text-center">{% trans "View" %}</th>
|
|
</tr>
|
|
{% for notif in unread %}
|
|
<tr class="{{ notif.level }}">
|
|
<td class="text-center">{{ notif.timestamp }}</td>
|
|
<td class="text-center">{{ notif.title }}</td>
|
|
<td class="text-center">
|
|
<a href="{% url 'auth_notification_view' notif.id %}">
|
|
<button type="button" class="btn btn-success" title="View">
|
|
<span class="glyphicon glyphicon-eye-open"></span>
|
|
</button>
|
|
</a>
|
|
<a href="{% url 'auth_remove_notification' notif.id %}">
|
|
<button type="button" class="btn btn-danger" title="remove">
|
|
<span class="glyphicon glyphicon-remove"></span>
|
|
</button>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="read" class="tab-pane fade">
|
|
<div class="panel-body">
|
|
<div class="table-responsive">
|
|
<table class="table table-condensed table-hover table-striped">
|
|
<tr>
|
|
<th class="text-center">{% trans "Timestamp" %}</th>
|
|
<th class="text-center">{% trans "Title" %}</th>
|
|
<th class="text-center">{% trans "View" %}</th>
|
|
</tr>
|
|
{% for notif in read %}
|
|
<tr class="{{ notif.level }}">
|
|
<td class="text-center">{{ notif.timestamp }}</td>
|
|
<td class="text-center">{{ notif.title }}</td>
|
|
<td class="text-center">
|
|
<a href="{% url 'auth_notification_view' notif.id %}">
|
|
<button type="button" class="btn btn-success" title="View">
|
|
<span class="glyphicon glyphicon-eye-open"></span>
|
|
</button>
|
|
</a>
|
|
<a href="{% url 'auth_remove_notification' notif.id %}">
|
|
<button type="button" class="btn btn-danger" title="remove">
|
|
<span class="glyphicon glyphicon-remove"></span>
|
|
</button>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|