Browse Source

remove (optional) from deadline as the zero option's text is enough to communicate that.

main
Gisle Aune 4 years ago
parent
commit
ac515466fa
  1. 4
      svelte-ui/src/forms/ProjectForm.svelte

4
svelte-ui/src/forms/ProjectForm.svelte

@ -114,10 +114,10 @@
<textarea disabled={deletion} name="description" bind:value={description} /> <textarea disabled={deletion} name="description" bind:value={description} />
<label for="itemId">Icon</label> <label for="itemId">Icon</label>
<IconSelect disabled={deletion} bind:value={icon} /> <IconSelect disabled={deletion} bind:value={icon} />
<label for="endTime">Deadline (Optional)</label>
<label for="endTime">Deadline</label>
<DeadlineSelect disabled={deletion} bind:value={endTime} /> <DeadlineSelect disabled={deletion} bind:value={endTime} />
{#if endTime != ""} {#if endTime != ""}
<label for="endTime">Start time (Optional)</label>
<label for="endTime">Start time</label>
<StartTimeSelect disabled={deletion} bind:value={startTime} /> <StartTimeSelect disabled={deletion} bind:value={startTime} />
{/if} {/if}
<label for="statusTag">Status</label> <label for="statusTag">Status</label>

Loading…
Cancel
Save