diff --git a/src/data/templates/view_citation_detail.html b/src/data/templates/view_citation_detail.html index 468f04531..f1b1d0caa 100644 --- a/src/data/templates/view_citation_detail.html +++ b/src/data/templates/view_citation_detail.html @@ -34,16 +34,16 @@

Citation information

-
+
-
+
@@ -67,19 +67,19 @@
-
+
{% note_table citation user action "/note/$act/citation/%s" citation.handle %}
-
+
{% media_table citation user action "/media/$act/citation/%s" citation.handle %}
-
+
{% data_table citation user action "/data/$act/citation/%s" citation.handle %}
-
+
{% citation_reference_table citation user action %}
-
+
{% history_table citation user action %}
@@ -91,7 +91,7 @@

Source information (shared)

-
+
-
+
@@ -128,19 +128,19 @@
-
+
{% note_table source user action "/note/$act/source/%s" source.handle %}
-
+
{% media_table source user action "/media/$act/source/%s" source.handle %}
-
+
{% repository_table source user action "/repository/$act/source/%s" source.handle %}
-
+
{% citation_reference_table source user action %}
-
+
{% history_table source user action %}
diff --git a/src/data/templates/view_event_detail.html b/src/data/templates/view_event_detail.html index f7028de77..f6d1cb172 100644 --- a/src/data/templates/view_event_detail.html +++ b/src/data/templates/view_event_detail.html @@ -50,31 +50,31 @@
-
+
-
+
{% citation_table event user action "/citation/$act/event/%s" event.handle %}
-
+
{% note_table event user action "/note/$act/event/%s" event.handle %}
-
+
{% media_table event user action "/media/$act/event/%s" event.handle %}
-
+
{% attribute_table event user action "/attribute/$act/event/%s" event.handle %}
-
+
{% event_reference_table event user action %}
-
+
{% history_table event user action %}
diff --git a/src/data/templates/view_family_detail.html b/src/data/templates/view_family_detail.html index e44d10497..35f738e50 100644 --- a/src/data/templates/view_family_detail.html +++ b/src/data/templates/view_family_detail.html @@ -94,40 +94,40 @@ -
+
-
+
{% children_table family user action "/person/$act/family/%s" family.handle %}
-
+
{% event_table family user action "/event/$act/family/%s" family.handle %}
-
+
{% citation_table family user action "/citation/$act/family/%s" family.handle %}
-
+
{% attribute_table family user action "/attribute/add/family/%s" family.handle %}
-
+
{% note_table family user action "/note/$act/family/%s" family.handle %}
-
+
{% media_table family user action "/media/$act/family/%s" family.handle %}
-
+
{% lds_table family user action "/lds/add/family/%s" family.handle %}
-
+
{% history_table family user action %}
diff --git a/src/data/templates/view_media_detail.html b/src/data/templates/view_media_detail.html index 4bc318222..5167db5e2 100644 --- a/src/data/templates/view_media_detail.html +++ b/src/data/templates/view_media_detail.html @@ -55,27 +55,27 @@ -
+
-
+
{% citation_table media user action "/citation/$act/media/%s" media.handle %}
-
+
{% note_table media user action "/note/$act/media/%s" media.handle %}
-
+
{% attribute_table media user action "/attribute/add/media/%s" media.handle %}
-
+
{% media_reference_table media user action %}
-
+
{% history_table media user action %}
diff --git a/src/data/templates/view_name_detail.html b/src/data/templates/view_name_detail.html index 1115e71af..01ebbfc10 100644 --- a/src/data/templates/view_name_detail.html +++ b/src/data/templates/view_name_detail.html @@ -75,17 +75,17 @@ -
+
+ id="tab-general" style="background-color: #f4f0ec;">
@@ -104,17 +104,17 @@   -
+
{% surname_table person user action "/person/%s/name/%s/surname/add" person.handle nameform.model.order %}
-
+
{% name_table person user action "/person/%s/name" person.handle %}
-
+
{% citation_table nameform.model user action "/citation/add/person/%s/name/%s" person.handle nameform.model.order %}
+ ui-tabs-hide" id="tab-notes" style="background-color: #f4f0ec;"> {% note_table nameform.model user action "/person/%s/name/%s/note" person.handle nameform.model.order %}
diff --git a/src/data/templates/view_note_detail.html b/src/data/templates/view_note_detail.html index 171bfc334..469f15c2b 100644 --- a/src/data/templates/view_note_detail.html +++ b/src/data/templates/view_note_detail.html @@ -72,15 +72,15 @@ -
+
-
+
{% note_reference_table note user action %}
-
+
{% history_table note user action %}
diff --git a/src/data/templates/view_person_detail.html b/src/data/templates/view_person_detail.html index ab4eb11ca..56b407abc 100644 --- a/src/data/templates/view_person_detail.html +++ b/src/data/templates/view_person_detail.html @@ -81,57 +81,57 @@
-
+
-
+
{% event_table person user action "/event/$act/person/%s" person.handle %}
-
+
{% name_table person user action "/person/%s/name" person.handle %}
-
+
{% citation_table person user action "/citation/$act/person/%s" person.handle %}
-
+
{% attribute_table person user action "/attribute/$act/person/%s" person.handle %}
-
+
{% address_table person user action "/place/$act/person/%s" person.handle %}
+ ui-tabs-hide" id="tab-notes" style="background-color: #f4f0ec;"> {% note_table person user action "/note/$act/person/%s" person.handle %}
-
+
{% media_table person user action "/media/$act/person/%s" person.handle %}
-
+
{% internet_table person user action "/person/%s/$act/internet" person.handle %}
-
+
{% association_table person user action "/person/%s/$act/association" person.handle %}
-
+
{% lds_table person user action "/person/%s/$act/lds" person.handle %}
-
+
{% person_reference_table person user action %}
-
+
{% history_table person user action %}
diff --git a/src/data/templates/view_place_detail.html b/src/data/templates/view_place_detail.html index 558e41cdf..0507ce5be 100644 --- a/src/data/templates/view_place_detail.html +++ b/src/data/templates/view_place_detail.html @@ -48,39 +48,39 @@ -
+
-
+
-
+
{% location_table place user action "/location/$act/place/%s" place.handle %}
-
+
{% citation_table place user action "/citation/$act/place/%s" place.handle %}
-
+
{% note_table place user action "/note/$act/place/%s" place.handle %}
-
+
{% media_table place user action "/media/$act/place/%s" place.handle %}
-
+
{% internet_table place user action "/internet/$act/place/%s" place.handle %}
-
+
{% place_reference_table place user action %}
-
+
{% history_table place user action %}
diff --git a/src/data/templates/view_repository_detail.html b/src/data/templates/view_repository_detail.html index 75df7da3d..cc65a0000 100644 --- a/src/data/templates/view_repository_detail.html +++ b/src/data/templates/view_repository_detail.html @@ -46,27 +46,27 @@ -
+
-
+
{% address_table repository user action "/address/add/repository/%s" repository.handle %}
-
+
{% internet_table repository user action "/internet/add/repository/%s" repository.handle %}
-
+
{% note_table repository user action "/note/$act/repository/%s" repository.handle %}
-
+
{% repository_reference_table repository user action %}
-
+
{% history_table repository user action %}
diff --git a/src/data/templates/view_source_detail.html b/src/data/templates/view_source_detail.html index 6e16ea33c..10419c13d 100644 --- a/src/data/templates/view_source_detail.html +++ b/src/data/templates/view_source_detail.html @@ -51,31 +51,31 @@ -
+
-
+
{% note_table source user action "/note/$act/source/%s" source.handle %}
-
+
{% media_table source user action "/media/$act/source/%s" source.handle %}
-
+
{% data_table source user action "/data/add/source/%s" source.handle %}
-
+
{% repository_table source user action "/repository/$act/source/%s" source.handle %}
-
+
{% source_reference_table source user action %}
-
+
{% history_table source user action %}
diff --git a/src/data/templates/view_tag_detail.html b/src/data/templates/view_tag_detail.html index 57f4c2ff7..aca7d15c3 100644 --- a/src/data/templates/view_tag_detail.html +++ b/src/data/templates/view_tag_detail.html @@ -42,11 +42,11 @@
{{nameform.group_as.label}}:
-
+
-
+
{% tag_reference_table tag user action %}
diff --git a/src/webapp/grampsdb/view/tag.py b/src/webapp/grampsdb/view/tag.py index 58983cfaa..420a3bc88 100644 --- a/src/webapp/grampsdb/view/tag.py +++ b/src/webapp/grampsdb/view/tag.py @@ -64,7 +64,6 @@ def process_tag(request, context, handle, act, add_to=None): # view, edit, save if tagform.is_valid(): update_last_changed(tag, request.user.username) tag = tagform.save() - dji.rebuild_cache(tag) act = "view" else: act = "edit" @@ -75,7 +74,6 @@ def process_tag(request, context, handle, act, add_to=None): # view, edit, save if tagform.is_valid(): update_last_changed(tag, request.user.username) tag = tagform.save() - dji.rebuild_cache(tag) if add_to: item, handle = add_to model = dji.get_model(item)