added file link to task view
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -131,6 +131,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showPrjFiles(){
|
||||||
|
var url = `/files/project/${project.id}`;
|
||||||
|
window.open(url, '_blank').focus();
|
||||||
|
}
|
||||||
|
|
||||||
function toggleSettings(){
|
function toggleSettings(){
|
||||||
showSettings = !showSettings;
|
showSettings = !showSettings;
|
||||||
}
|
}
|
||||||
@@ -184,6 +189,7 @@
|
|||||||
<div>{t('project')}</div>
|
<div>{t('project')}</div>
|
||||||
<div class="project">
|
<div class="project">
|
||||||
<a href="#" onclick={gotoProject}>{project.name}</a>
|
<a href="#" onclick={gotoProject}>{project.name}</a>
|
||||||
|
<button class="symbol" title={t('files')} onclick={showPrjFiles}></button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if task.parent}
|
{#if task.parent}
|
||||||
|
|||||||
Reference in New Issue
Block a user