1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-16 16:04:08 +01:00
Radarr/NzbDrone.Web/Views/Shared/FreeSpace.cshtml
Mark McDowall 4212da9146 Free diskspace in UI
New: View Diskspace for root directories visible in UI
#ND-98 fixed
2012-12-22 21:35:36 -08:00

15 lines
290 B
Plaintext

@using NzbDrone.Core
@model IEnumerable<NzbDrone.Core.Repository.RootDir>
@{
Layout = null;
}
@{
foreach(var rootDir in Model)
{
<div class="free-space" title="@rootDir.Path">
@rootDir.FreeSpace.ToBestFileSize(1) <span>Free</span>
</div>
}
}