From 36b575c2865c2b8e4cb495c3ef42dfcb4587e1f4 Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 2 Sep 2019 22:08:50 +0200 Subject: [PATCH] optimize length of type/mime type labels --- src/public/javascripts/services/mime_types.js | 4 ++-- src/public/javascripts/services/note_type.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/public/javascripts/services/mime_types.js b/src/public/javascripts/services/mime_types.js index e5819665a..5b246b0d2 100644 --- a/src/public/javascripts/services/mime_types.js +++ b/src/public/javascripts/services/mime_types.js @@ -59,8 +59,8 @@ const MIME_TYPES_DICT = [ { title: "Pug", mime: "text/x-pug" }, { default: true, title: "Java", mime: "text/x-java" }, { title: "Java Server Pages", mime: "application/x-jsp" }, - { default: true, title: 'JavaScript frontend', mime: 'application/javascript;env=frontend' }, - { default: true, title: 'JavaScript backend', mime: 'application/javascript;env=backend' }, + { default: true, title: 'JS frontend', mime: 'application/javascript;env=frontend' }, + { default: true, title: 'JS backend', mime: 'application/javascript;env=backend' }, { default: true, title: "JSON", mime: "application/json" }, { title: "JSON-LD", mime: "application/ld+json" }, { title: "JSX", mime: "text/jsx" }, diff --git a/src/public/javascripts/services/note_type.js b/src/public/javascripts/services/note_type.js index b3836c492..993728757 100644 --- a/src/public/javascripts/services/note_type.js +++ b/src/public/javascripts/services/note_type.js @@ -10,7 +10,7 @@ const NOTE_TYPES = [ { type: "text", mime: "text/html", title: "Text", selectable: true }, { type: "relation-map", mime: "application/json", title: "Relation Map", selectable: true }, - { type: "render", mime: '', title: "Render HTML note", selectable: true }, + { type: "render", mime: '', title: "Render Note", selectable: true }, { type: "code", mime: 'text/plain', title: "Code", selectable: true } ];