Skip to content

Commit

Permalink
fix admin files
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Jan 14, 2025
1 parent 1667d9a commit 775a5b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/goatak_server/templates/mp.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</tr>
<tr v-for="p in all" @click="current = p">
<td>{{ p.Scope }}</td>
<td>{{ p.Name }}</td>
<td>{{ p.FileName }}</td>
<td>{{ p.Size }}</td>
<td>{{ p.MIMEType }}</td>
</tr>
Expand All @@ -27,7 +27,7 @@ <h3>{{ current.Name }}</h3>
Author: {{ current.SubmissionUser }} {{ current.CreatorUID }}<br/>
Tool: {{ current.Tool }}<br/>
<a class="btn btn-outline-danger" :href="'/mp/delete/' + current.ID">delete</a><br/>
<img class="w-100" v-if="current.MIMEType.startsWith('image/')" :src="'/mp/' + current.UID"/>
<img class="w-100" v-if="current.MIMEType.startsWith('image/')" :src="'/mp/' + current.ID"/>
</div>
</div>
</div>

0 comments on commit 775a5b7

Please sign in to comment.