diff --git a/backend/resources/app/templates/error-list.tmpl b/backend/resources/app/templates/error-list.tmpl index 73520aa36..b8af22fb8 100644 --- a/backend/resources/app/templates/error-list.tmpl +++ b/backend/resources/app/templates/error-list.tmpl @@ -6,13 +6,19 @@ penpot - error list {% block content %}
diff --git a/backend/resources/app/templates/error-report.v3.tmpl b/backend/resources/app/templates/error-report.v3.tmpl index b36a97e49..66e2ad2ed 100644 --- a/backend/resources/app/templates/error-report.v3.tmpl +++ b/backend/resources/app/templates/error-report.v3.tmpl @@ -1,7 +1,7 @@ {% extends "app/templates/base.tmpl" %} {% block title %} -penpot - error report v2 {{id}} +Report: {{hint|abbreviate:150}} - {{id}} - Penpot Error Report (v3) {% endblock %} {% block content %} diff --git a/backend/resources/app/templates/styles.css b/backend/resources/app/templates/styles.css index 499f75cb3..f2c95b214 100644 --- a/backend/resources/app/templates/styles.css +++ b/backend/resources/app/templates/styles.css @@ -50,7 +50,13 @@ nav { background: #e3e3e3; } -nav > h1 { +nav > .title { + display: flex; + justify-content: center; + width: 100%; +} + +nav > .title > h1 { padding: 0px; margin: 0px; font-size: 11px; @@ -151,7 +157,6 @@ nav > div:not(:last-child) { line-height: 18px; min-width: 210px; margin: 0px 20px; - cursor: pointer; display: flex; border-radius: 3px; } diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index da9955293..e117bf7db 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -238,9 +238,9 @@ (-> (io/resource "app/templates/error-report.v2.tmpl") (tmpl/render report))) - (render-template-v3 [{report :content}] + (render-template-v3 [{report :content id :id}] (-> (io/resource "app/templates/error-report.v3.tmpl") - (tmpl/render report))) + (tmpl/render (assoc report :id id)))) ] (when-not (authorized? pool request)