Commit e5bc1ed8 authored by Élie Bouttier's avatar Élie Bouttier
parents b206ba74 1ed4161a
......@@ -397,7 +397,7 @@ class IPResourceAdmin(admin.ModelAdmin):
fields += ['last_use']
if obj and obj.last_time_up and obj.last_check:
fields += ['last_time_up', 'last_check']
if obj.category == IPRessource.CATEGORY_PUBLIC:
if obj.category == IPResource.CATEGORY_PUBLIC:
fields += ['password']
if obj and obj.checkmk_label:
fields += ['checkmk']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment