diff --git a/src/Simple/_SimpleAccess.py b/src/Simple/_SimpleAccess.py index 47cb49f32..d4b202864 100644 --- a/src/Simple/_SimpleAccess.py +++ b/src/Simple/_SimpleAccess.py @@ -952,9 +952,9 @@ class SimpleAccess(object): elif isinstance(obj, gen.lib.Place): return place_name(self.dbase, obj.handle) elif isinstance(obj, gen.lib.Repository): - return obj.type + return obj.gramps_id elif isinstance(obj, gen.lib.Note): - return obj.type + return obj.gramps_id elif obj is None: return "" else: diff --git a/src/data/templates/gramps-base.html b/src/data/templates/gramps-base.html index b3601ee6c..7ae2db6e1 100644 --- a/src/data/templates/gramps-base.html +++ b/src/data/templates/gramps-base.html @@ -33,7 +33,6 @@
  • {{view.0}}
  • {% endfor %} {% if user.is_authenticated %} -
  • Reports
  • {% if next %}
  • Logout
  • {% else %} @@ -52,16 +51,13 @@ {% endblock %} -
    - {% if error %} - {{error}} - {% endif %} - {% if message %} - {{message}} - {% endif %}
    + {% for message in messages %} + {{message}} + {% endfor %} {% block content %} {% endblock %} +