* Adjust GitLab MR Details Style.

This commit is contained in:
lichengjun
2021-09-09 10:29:13 +00:00
parent c2f95a20c7
commit b8e19bf4fc
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -77,8 +77,7 @@ $lang->mr->acceptMR = "合并";
$lang->mr->mergeFailed = "无法合并,请核对合并请求状态";
$lang->mr->mergeSuccess = "已成功合并";
$lang->mr->todomessage = "项目中指派给你了合并请求。";
$lang->mr->attime = "时间在";
$lang->mr->todomessage = "项目中指派给你了";
/**
+1 -1
View File
@@ -332,7 +332,7 @@ class mrModel extends model
$todo->idvalue = $rawTodo->id;
$todo->pri = 3;
$todo->name = $this->lang->mr->common . ": " . $rawTodo->target->title;
$todo->desc = $this->app->user->account . $this->lang->mr->at . date("Y-m-d", strtotime($rawTodo->target->created_at)) . $this->lang->mr->on . '<a href="' . $rawTodo->target->web_url . '" target="_blank">' . $rawTodo->target->description .'</a>' . $this->lang->mr->todomessage . '</br>' . $this->app->user->account. $this->lang->mr->on . '<a href="' . $rawTodo->author->web_url . '/' . $rawTodo->project->path . '" target="_blank">' . $rawTodo->project->path .'</a>' . $this->lang->mr->todomessage;
$todo->desc = $this->app->user->account. $this->lang->mr->on . '<a href="' . $rawTodo->author->web_url . '/' . $rawTodo->project->path . '" target="_blank">' . $rawTodo->project->path .'</a>' . $this->lang->mr->todomessage . '<a href="' . $rawTodo->target->web_url . '" target="_blank">' . $this->lang->mr->common .'</a>' . '。';
$todo->status = 'wait';
$todo->finishedBy = '';