diff --git a/burpui/app.py b/burpui/app.py index ec09189b..a7476577 100644 --- a/burpui/app.py +++ b/burpui/app.py @@ -74,8 +74,10 @@ def create_db(myapp, cli=False, unittest=False, create=True): not cli and not unittest: if create: import subprocess + local = os.path.join(os.getcwd(), '..', 'bui-manage') + buimanage = local if os.path.exists(local) else 'bui-manage' cmd = [ - 'bui-manage', + buimanage, '-c', myapp.config['CFG'], 'db', diff --git a/burpui/templates/calendar.html b/burpui/templates/calendar.html index 1b14f91d..48eda14d 100644 --- a/burpui/templates/calendar.html +++ b/burpui/templates/calendar.html @@ -13,7 +13,17 @@ {% endif -%}
-

Calendar{% if cname %} of {{ cname }}{% if server %} on {{ server }}{% endif %}{% elif server %} of {{ server }}{% endif %}

+

+ {% if server and client %} + {{ _('Calendar of %(client)s on %(server)s', client=cname, server=server) }} + {% elif client %} + {{ _('Calendar of %(client)s', client=cname) }} + {% elif server %} + {{ _('Calendars of %(server)s', server=server) }} + {% else %} + {{ _('Calendars') }} + {% endif %} +

{% endblock %} diff --git a/burpui/templates/client-browse.html b/burpui/templates/client-browse.html index 42a91641..9fc8cc40 100644 --- a/burpui/templates/client-browse.html +++ b/burpui/templates/client-browse.html @@ -24,7 +24,7 @@