Permalink
Browse files

Don't strip extension off command in the UI.

It confuses people.
  • Loading branch information...
1 parent 0da4d5c commit 03f49436d40e2c830010b601123ccd6868582207 @rolfbjarne rolfbjarne committed Feb 28, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 MonkeyWrench.Web.UI/ViewLane.aspx.cs
@@ -222,9 +222,9 @@ public string GenerateLane (GetViewLaneDataResponse response)
DBWorkFileView step_log = files.Find ((v) => v.filename == command + ".log");
matrix.Append ("\t<td>");
if (step_log != null) {
- matrix.AppendFormat ("<a href='GetFile.aspx?id={0}'>{1}</a> ", step_log.id, Path.GetFileNameWithoutExtension (command));
+ matrix.AppendFormat ("<a href='GetFile.aspx?id={0}'>{1}</a> ", step_log.id, command);
} else {
- matrix.Append (Path.GetFileNameWithoutExtension (command));
+ matrix.Append (command);
}
matrix.Append ("</td>");

0 comments on commit 03f4943

Please sign in to comment.