Better default README.md content and edit button

This commit is contained in:
Nick O'Leary
2018-01-25 13:30:27 +00:00
parent 0b0005337c
commit 0dd7bc7fb9
3 changed files with 9 additions and 16 deletions

View File

@@ -233,7 +233,7 @@ RED.projects.settings = (function() {
var summaryContent = $('<div></div>',{style:"color: #999"}).appendTo(summary);
updateProjectSummary(activeProject.summary, summaryContent);
if (RED.user.hasPermission("projects.write")) {
$('<button class="editor-button editor-button-small" style="float: right;">edit</button>')
$('<button class="editor-button editor-button-small" style="float: right;">edit description</button>')
.prependTo(summary)
.click(function(evt) {
evt.preventDefault();
@@ -248,7 +248,7 @@ RED.projects.settings = (function() {
updateProjectDescription(activeProject, descriptionContent);
if (RED.user.hasPermission("projects.write")) {
$('<button class="editor-button editor-button-small" style="float: right;">edit</button>')
$('<button class="editor-button editor-button-small" style="float: right;">edit README.md</button>')
.prependTo(description)
.click(function(evt) {
evt.preventDefault();