super-productivity/app-src/scripts/settings/git-settings/git-settings-d.html
2017-02-11 23:40:33 +01:00

40 lines
No EOL
1.7 KiB
HTML

<h2 class="md-title">Git integration</h2>
<help-section>
<p>Here you can configure to list open github issues for a specific repository inside the task creation panel. They will be listed as suggestion and will provide a link to issue as well as several other information about it.</p>
<p>Pull requests will also be shown as task suggestion, you can add a custom prefix to distinguish them easier from other issues.</p>
<p ng-if="vm.IS_ELECTRON">You can also configure the path to your projects .git directory to show you a summary of commits at the end of the day.</p>
</help-section>
<md-input-container class="md-block">
<div>
<md-switch ng-model="vm.settings.isShowIssuesFromGit"
aria-label="Enable showing git tasks when adding tasks">
Show open git issues when adding tasks
</md-switch>
</div>
</md-input-container>
<section ng-show="vm.settings.isShowIssuesFromGit">
<md-input-container class="md-block">
<label>Git repository to track for adding tasks (e.g.: johannesjo/super-productivity)</label>
<input type="text"
ng-model="vm.settings.repo">
</md-input-container>
</section>
<section ng-show="vm.settings.isShowIssuesFromGit">
<md-input-container class="md-block">
<label>Prefix for pull request issues</label>
<input type="text"
ng-model="vm.settings.prPrefix">
</md-input-container>
</section>
<section ng-if="vm.IS_ELECTRON">
<p>Set project directory to show the days commits at summary.</p>
<md-input-container class="md-block">
<label>Project path (where .git resides)</label>
<input type="text"
ng-model="vm.settings.projectDir">
</md-input-container>
</section>