Skip to content

Commit

Permalink
Merge pull request GeoNode#26 from opengeo/issue643
Browse files Browse the repository at this point in the history
Add the last modified field to the map listing page in the django admin
  • Loading branch information
ischneider committed Apr 18, 2013
2 parents ca2bf03 + 56e670b commit b593ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GeoNodePy/geonode/maps/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ContactRoleAdmin(admin.ModelAdmin):
list_editable = ('contact', 'layer', 'role')

class MapAdmin(admin.ModelAdmin):
list_display = ('id','title','owner')
list_display = ('id','title','owner', 'last_modified')
list_display_links = ('id',)
list_editable = ('owner',)
#inlines = [MapLayerInline,]
Expand All @@ -31,7 +31,7 @@ class ContactAdmin(admin.ModelAdmin):
inlines = [ContactRoleInline]

class LayerAdmin(admin.ModelAdmin):
list_display = ('id', 'typename','service_type','title', 'date', 'owner')
list_display = ('id', 'typename','service_type','title', 'date', 'date_type', 'owner')
list_display_links = ('id',)
list_editable = ('title', 'owner')
list_filter = ('date', 'date_type', 'constraints_use', 'owner')
Expand Down

0 comments on commit b593ebb

Please sign in to comment.