implemented editing of task`s 'no index' field

This commit is contained in:
2025-07-27 12:59:32 +02:00
parent ac45517d7f
commit 2fa95d38c5
4 changed files with 21 additions and 6 deletions

View File

@@ -128,7 +128,10 @@
}
.head,
.user{
background: lime;
background: black;
border: 1px solid orange;
color: orange;
text-align: center;
}
.highlight{
background: red;

View File

@@ -140,6 +140,10 @@
if (update({show_closed:task.show_closed})) setTimeout(loadTask,50);
}
function updateNoIndex(){
if (update({no_index:task.no_index})) setTimeout(loadTask,50);
}
function updatePermission(user_id,permission){
let members = {};
members[user_id] = permission.code;
@@ -227,6 +231,15 @@
</label>
</td>
</tr>
<tr>
<td></td>
<td>
<label>
<input type="checkbox" bind:checked={task.no_index} onchange={updateNoIndex} />
{t('hide_on_index_page')}
</label>
</td>
</tr>
<tr>
<th>
{t('members')}