show the version: this is done.

main
Paul Schneider 8 years ago
parent 91932e7641
commit 22a6c66e0d
1 changed files with 0 additions and 1 deletions

@ -81,7 +81,6 @@ namespace Yavsc.Controllers
}
public async Task<IActionResult> About()
{
// TODO show the version tag
FileInfo fi = new FileInfo("wwwroot/version");
return View("About",fi.Exists ? _localizer["Version logicielle: "] + await fi.OpenText().ReadToEndAsync() : _localizer["Aucune information sur la version logicielle n'est publiée."]);
}

Loading…