Merge branch '459-media-type' into 'develop'

Resolve "Display information about the codec used when we click on a track or when browsing library under administration"

Closes #459

See merge request funkwhale/funkwhale!359
This commit is contained in:
Eliot Berriot 2018-07-27 16:40:37 +00:00
commit 75852e537a
3 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1 @@
Fixed audio mimetype not showing up on track detail and list (#459)

View File

@ -87,6 +87,17 @@
<translate>N/A</translate>
</td>
</tr>
<tr>
<td>
<translate>Type</translate>
</td>
<td v-if="file.mimetype">
{{ file.mimetype }}
</td>
<td v-else>
<translate>N/A</translate>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -57,8 +57,8 @@
<td>
<human-date :date="scope.obj.creation_date"></human-date>
</td>
<td v-if="scope.obj.audio_mimetype">
{{ scope.obj.audio_mimetype }}
<td v-if="scope.obj.mimetype">
{{ scope.obj.mimetype }}
</td>
<td v-else>
<translate>N/A</translate>