optimize<Manager>: simplify Manager page

This commit is contained in:
leo 2020-12-31 15:55:19 +08:00
parent eac212737c
commit dc17bb4b12
5 changed files with 162 additions and 436 deletions

View file

@ -69,7 +69,7 @@ namespace SourceGit.UI {
public string Title {
get {
if (Repo == null) return "Repositories";
if (Repo == null) return "New Page";
return Repo.Parent == null ? Repo.Name : $"{Repo.Parent.Name} : {Repo.Name}";
}
}