You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
604 B
29 lines
604 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Web.Core;
|
|
using FLocal.Common.dataobjects;
|
|
|
|
namespace FLocal.Common.URL.upload {
|
|
public class Info : AbstractUrl {
|
|
|
|
public readonly Upload upload;
|
|
|
|
public Info(string uploadId, string remainder) : base(remainder) {
|
|
this.upload = Upload.LoadById(int.Parse(uploadId));
|
|
}
|
|
|
|
public override string title {
|
|
get {
|
|
return this.upload.filename;
|
|
}
|
|
}
|
|
|
|
protected override string _canonical {
|
|
get {
|
|
return "/Upload/Info/" + this.upload.id + "/";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|