Skip to content

Commit

Permalink
Fix repeater box title, add Repeater.created_by to raw_id_fields in a…
Browse files Browse the repository at this point in the history
…dmin interface
  • Loading branch information
elnappo committed Apr 24, 2019
1 parent 0d4aba1 commit cc2904b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project_novis/callsign/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class RepeaterAdmin(BaseModelAdmin):
ordering = ('callsign',)
search_fields = ("callsign",)

raw_id_fields = ("callsign",)
raw_id_fields = ("callsign", "created_by")
inlines = [TransmitterInline, ]


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">object.repeater Information</h3>
<h3 class="box-title">Repeater Information</h3>
{% if user == object.owner %}
<div class="box-tools pull-right">
<a href="{% url "callsign:repeater-html-update" object.name %}"
Expand Down

0 comments on commit cc2904b

Please sign in to comment.