mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 05:50:16 +02:00
Add timestamp to comments on HR applications, removed useless 'App ID' field from HR overview
This commit is contained in:
parent
4fa764e301
commit
c17fdb2b7a
@ -27,6 +27,7 @@ class HRApplication(models.Model):
|
||||
|
||||
|
||||
class HRApplicationComment(models.Model):
|
||||
created_on = models.DateTimeField(auto_now_add=True)
|
||||
comment = models.CharField(max_length=254, default="")
|
||||
application = models.ForeignKey(HRApplication)
|
||||
commenter_user = models.ForeignKey(User)
|
||||
|
@ -21,9 +21,8 @@
|
||||
</a>
|
||||
</div>
|
||||
</h1>
|
||||
<table class="table table-bordered">
|
||||
<table class="table table-bordered table-condensed">
|
||||
<tr>
|
||||
<th class="text-center">Application ID</th>
|
||||
<th class="text-center">Username</th>
|
||||
<th class="text-center">Main Character</th>
|
||||
<th class="text-center">Corporation
|
||||
@ -32,7 +31,6 @@
|
||||
</tr>
|
||||
{% for personal_app in personal_apps %}
|
||||
<tr>
|
||||
<td class="text-center">{{ personal_app.id }}</td>
|
||||
<td class="text-center">{{ personal_app.user.username }}</td>
|
||||
<td class="text-center">{{ personal_app.character_name }}</td>
|
||||
<td class="text-center">{{ personal_app.corp.corporation_name }}</td>
|
||||
|
@ -164,7 +164,7 @@
|
||||
{% for comment in comments %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" role="tab" id="">
|
||||
<div class="panel-title">{{ comment.commenter_character.character_name }}
|
||||
<div class="panel-title">{{comment.commenter_character.created_on}} - {{ comment.commenter_character.character_name }}
|
||||
- {{ comment.commenter_character.corporation_name }}</div>
|
||||
</div>
|
||||
<div class="panel-body">{{ comment.comment }}</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user