|
|
@@ -256,7 +256,7 @@ func NotebookShow(ctx *context.Context) { |
|
|
|
result.LatestUpdateTime = time.Unix(int64(result.UpdateAt/1000), 0).Format("2006-01-02 15:04:05") |
|
|
|
} |
|
|
|
|
|
|
|
var datasetDownloadLink string |
|
|
|
datasetDownloadLink := "-" |
|
|
|
if ctx.IsSigned { |
|
|
|
if task.Uuid != "" && task.UserID == ctx.User.ID { |
|
|
|
attachment, err := models.GetAttachmentByUUID(task.Uuid) |
|
|
@@ -265,7 +265,7 @@ func NotebookShow(ctx *context.Context) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ctx.Data["datasetDownloadLink"] = datasetDownloadLink |
|
|
|
ctx.Data["task"] = task |
|
|
|
ctx.Data["jobID"] = jobID |
|
|
|