|
@@ -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']
|