File tree Expand file tree Collapse file tree
XeniaBot.WebPanel/Views/Shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939</div >
4040<footer class =" border-top footer text-muted mt-4" >
4141 <div class =" container mt-3" >
42- © ; 2023-2024 - Xenia Bot & Dashboard Contributors - <a asp-area =" " asp-controller =" Home" asp-action =" Privacy" >Privacy</a > - <a href =" https://xenia.kate.pet" >Website</a ><br />
42+ © ; 2023 - @DateTime.Now.Year - Xenia Bot & Dashboard Contributors - <a asp-area =" " asp-controller =" Home" asp-action =" Privacy" >Privacy</a > - <a href =" https://xenia.kate.pet" >Website</a ><br />
4343 <hr />
44- <code >Xenia Dashboard @( Program .Version == null ? " " : $" v{Program .Version }" ) </code >
44+ @{
45+ var versionString = Program .Version ? .ToString ();
46+ if (versionString != null )
47+ {
48+ while (versionString .EndsWith (" .0" ))
49+ versionString = versionString [.. ^ 2 ];
50+ if (! string .IsNullOrEmpty (versionString ))
51+ {
52+ versionString = $" v{versionString }" ;
53+ }
54+ }
55+ }
56+ <code >Xenia Dashboard @versionString </code >
4557 </div >
4658</footer >
4759<script src =" ~/lib/jquery/dist/jquery.min.js" ></script >
You can’t perform that action at this time.
0 commit comments