Last active
October 13, 2015 07:27
-
-
Save jonasvp/4160067 to your computer and use it in GitHub Desktop.
Integrate Harvest Platform into redmine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="position:absolute;left:1230px;" class="harvest-timer" data-project='{"id":"<%= @project.id %>", "name": "<%=j @project.name %>"}' data-item='{"id": "<%= @issue.id %>", "name":"<%=j @issue.subject %>"'></div> | |
<script> | |
(function() { | |
window._harvestPlatformConfig = { | |
"applicationName": "Redmine", | |
"permalink": "https://YOUR.REDMINE.DOMAIN/issues/%ITEM_ID%" | |
}; | |
var s = document.createElement('script'); | |
s.src = '//platform.harvestapp.com/assets/platform.js'; | |
s.async = true; | |
var ph = document.getElementsByTagName('script')[0]; | |
ph.parentNode.insertBefore(s, ph); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vphantom I realize you commented almost 2 years ago, but figured I'd leave a note for anyone finding this now :)
Here's the page that explains the Harvest Platform used here: https://www.getharvest.com/platform