Support for templates
This commit is contained in:
parent
0420be3a7d
commit
8bcf5142f0
@ -401,7 +401,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label"
|
<label class="control-label"
|
||||||
for="textarea-settings-publish-template">Template</label>
|
for="textarea-settings-publish-template">Template (<a href="#" class="tooltip-template">?</a>)</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<textarea id="textarea-settings-publish-template"></textarea>
|
<textarea id="textarea-settings-publish-template"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
@ -182,6 +182,12 @@ define(["jquery", "github-provider", "underscore"], function($) {
|
|||||||
publisher.publish();
|
publisher.publish();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".tooltip-template").tooltip({
|
||||||
|
title: ['Variables:\n',
|
||||||
|
'documentTitle: the document title'
|
||||||
|
].join("")
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
return publisher;
|
return publisher;
|
||||||
|
Loading…
Reference in New Issue
Block a user