added links from project view to times and files
This commit is contained in:
@@ -154,6 +154,14 @@
|
|||||||
loadTasks();
|
loadTasks();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showFiles(e){
|
||||||
|
window.open(`/files/project/${id}`, '_blank').focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
function showTimes(e){
|
||||||
|
window.open(`/time?project=${id}`, '_blank').focus();
|
||||||
|
}
|
||||||
|
|
||||||
onMount(loadProject);
|
onMount(loadProject);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -183,9 +191,9 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<div>{t('context')}</div>
|
<div>{t('context')}</div>
|
||||||
<div>
|
<div>
|
||||||
<button>{t('files')}</button>
|
<button onclick={showFiles}>{t('files')}</button>
|
||||||
<button>{t('models')}</button>
|
<button>{t('models')}</button>
|
||||||
<button>{t('times')}</button>
|
<button onclick={showTimes}>{t('times')}</button>
|
||||||
</div>
|
</div>
|
||||||
{#if showSettings}
|
{#if showSettings}
|
||||||
<div>{t('extended_settings')}</div>
|
<div>{t('extended_settings')}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user