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