* url fixes
* set value of external id if it exists
This commit is contained in:
parent
60379e63cf
commit
2fbedeff97
@ -21,7 +21,7 @@
|
||||
<body>
|
||||
<b>Just Drag'n'Drop the button into your Bookmarks</b>
|
||||
<div class="button">
|
||||
<a href="javascript:(function(){ var script = document.createElement("script"); script.src = "http://vasgyuro.tsp/~edvidan/jira-card-printer/bookmarklet.js"; document.body.appendChild(script); document.body.removeChild(script);})();">CardPrinter</a>
|
||||
<a href="javascript:(function(){ var script = document.createElement("script"); script.src = "https://static.ragnarok.yvan.hu/jira-card-printer/bookmarklet.js"; document.body.appendChild(script); document.body.removeChild(script);})();">CardPrinter</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -291,6 +291,13 @@
|
||||
card.find(".issue-assignee").remove();
|
||||
}
|
||||
|
||||
//ETH taurus-xft
|
||||
if (data.externalIssueId) {
|
||||
card.find(".issue-external-id").text(data.externalIssueId);
|
||||
} else {
|
||||
card.find(".issue-external-id").remove();
|
||||
}
|
||||
|
||||
//Due-Date
|
||||
if (data.dueDate) {
|
||||
card.find(".issue-due-date").text(data.dueDate);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
javascript:(function(){
|
||||
var head = document.getElementsByTagName("head")[0];
|
||||
var scriptElement = document.createElement("script");
|
||||
scriptElement.src = 'http://vasgyuro.tsp/~edvidan/jira-card-printer/bookmarklet.js';
|
||||
scriptElement.src = 'https://static.ragnarok.yvan.hu/jira-card-printer/bookmarklet.js';
|
||||
head.appendChild(scriptElement);
|
||||
head.removeChild(scriptElement);
|
||||
})();
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
|
||||
require 'recipe/common.php';
|
||||
|
||||
server('prod', 'alfheim.yvan.hu', 2206)
|
||||
server('prod', 'alfheim.ragnarok.yvan.hu', 2206)
|
||||
->user('yvan')
|
||||
->forwardAgent() // You can use identity key, ssh config, or username/password to auth on the server.
|
||||
->stage('production')
|
||||
->env('deploy_path', '/var/www/cdn'); // Define the base path to deploy your project to.
|
||||
->env('deploy_path', '/mnt/apps/jira-card-printer'); // Define the base path to deploy your project to.
|
||||
|
||||
set('repository', 'ssh://gogs@gogs.ragnarok.yvan.hu:2206/yvan/jira-card-printer.git');
|
||||
set('repository', 'https://gogs.ragnarok.yvan.hu/yvan/jira-card-printer.git');
|
||||
env('branch', 'taurus-xft');
|
||||
|
||||
task('deploy', [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user