event log: tell when a project doesn't keep a history
This commit is contained in:
parent
45bfe34f06
commit
7b043c0856
|
@ -403,8 +403,9 @@ namespace SparkleShare {
|
|||
|
||||
public string GetHTMLLog (List<SparkleChangeSet> change_sets)
|
||||
{
|
||||
if (change_sets.Count == 0)
|
||||
return ""; // TODO "Project does not have a history"
|
||||
if (change_sets == null || change_sets.Count == 0)
|
||||
return Program.Controller.EventLogHTML.Replace ("<!-- $event-log-content -->",
|
||||
"<div class='day-entry'><div class='day-entry-header'>This project does not keep a history.</div></div>");
|
||||
|
||||
List <ActivityDay> activity_days = new List <ActivityDay> ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue