works: Add tag prefix
This commit is contained in:
parent
ba98b9ed69
commit
615ed805fa
4 changed files with 23 additions and 13 deletions
|
@ -79,6 +79,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-3 text-sm-end">
|
||||
<label for="tagprefix" class="col-form-label col-form-label-sm">Préfixe des tag à regarder</label>
|
||||
</div>
|
||||
<div class="col-sm-8 col-md-4 col-lg-2">
|
||||
<input class="form-control form-control-sm" id="tagprefix" bind:value={work.tag}>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-3 text-sm-end">
|
||||
<label for="submissionurl" class="col-form-label col-form-label-sm">URL validation la soumission</label>
|
||||
|
|
|
@ -6,12 +6,13 @@ export class Work {
|
|||
}
|
||||
}
|
||||
|
||||
update({ id, title, promo, group, shown, description, descr_raw, submission_url, corrected, start_availability, end_availability }) {
|
||||
update({ id, title, promo, group, shown, tag, description, descr_raw, submission_url, corrected, start_availability, end_availability }) {
|
||||
this.id = id;
|
||||
this.title = title;
|
||||
this.promo = promo;
|
||||
this.group = group;
|
||||
this.shown = shown;
|
||||
this.tag = tag;
|
||||
this.description = description;
|
||||
this.descr_raw = descr_raw;
|
||||
this.submission_url = submission_url;
|
||||
|
|
Reference in a new issue