From 6dcfb832f028271fb71fabd6964a76eadb931e79 Mon Sep 17 00:00:00 2001 From: JackWuLieHao Date: Tue, 3 Apr 2018 15:05:20 +0800 Subject: [PATCH] * my-todo Priority and name plus title; * user-edit Adjust the location of the entry date * user-profile If the entry date is empty, do not display. --- module/my/view/profile.html.php | 3 ++- module/my/view/todo.html.php | 4 ++-- module/user/view/edit.html.php | 8 +++----- module/user/view/profile.html.php | 6 ++++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/module/my/view/profile.html.php b/module/my/view/profile.html.php index 65d9a20ae0..016fef0557 100644 --- a/module/my/view/profile.html.php +++ b/module/my/view/profile.html.php @@ -62,7 +62,8 @@ user->email;?> email;?> - + join == '0000-00-00' ? "style='display:none'" : '';?> + > user->join;?> join;?> diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php index 80fea7a34d..19c2d94ce1 100644 --- a/module/my/view/todo.html.php +++ b/module/my/view/todo.html.php @@ -72,8 +72,8 @@ date == '2030-01-01' ? $lang->todo->periods['future'] : $todo->date;?> todo->typeList[$todo->type];?> - todo->priList, $todo->pri, $todo->pri);?>'>todo->priList, $todo->pri, $todo->pri)?> - createLink('todo', 'view', "id=$todo->id&from=my", '', true), $todo->name, '', "data-toggle='modal' data-type='iframe' data-title='" . $lang->todo->view . "' data-icon='check'");?> + todo->priList, $todo->pri, $todo->pri);?>'>todo->priList, $todo->pri, $todo->pri)?> + createLink('todo', 'view', "id=$todo->id&from=my", '', true), $todo->name, '', "data-toggle='modal' data-type='iframe' data-title='" . $lang->todo->view . "' data-icon='check'");?> begin;?> end;?> todo->statusList[$todo->status];?> diff --git a/module/user/view/edit.html.php b/module/user/view/edit.html.php index 8f9713f6b3..651dca4c96 100644 --- a/module/user/view/edit.html.php +++ b/module/user/view/edit.html.php @@ -26,7 +26,9 @@ user->basicInfo;?> user->realname;?> - realname, "class='form-control' autocomplete='off'");?> + realname, "class='form-control' autocomplete='off'");?> + user->join;?> + join, "class='form-control form-date'");?> user->dept;?> @@ -34,10 +36,6 @@ user->role;?> user->roleList, $user->role, "class='form-control'");?> - - user->join;?> - join, "class='form-control form-date'");?> - group->priv;?> diff --git a/module/user/view/profile.html.php b/module/user/view/profile.html.php index 6701a83e30..83e3cc8d3e 100644 --- a/module/user/view/profile.html.php +++ b/module/user/view/profile.html.php @@ -60,10 +60,12 @@ user->role;?> user->roleList[$user->role];?> - + join == '0000-00-00' ? "style='display:none'" : '';?> + > user->join;?> join;?> - + + user->commiter;?> commiter;?>