新建工单按钮 && fixbug

This commit is contained in:
jysperm
2014-04-03 23:01:02 +08:00
parent e60000827b
commit f4465a23a9
3 changed files with 12 additions and 4 deletions

View File

@@ -27,6 +27,10 @@
"noAccount": "还没有账户?"
},
"ticket": {
"word": {
"create": "创建工单"
},
"list": {
"title": "工单列表"
}

View File

@@ -18,7 +18,7 @@ block content
li
a(href='/ticket/list/')
span.glyphicon.pull-right.glyphicon-edit
| #{t('word.ticket')}
| #{t('word.ticket/')}
.col-md-9
h2 Panel

View File

@@ -9,12 +9,16 @@ block main
table.table.table-hover
thead
tr
td= t('word.type')
td= t('word.title')
td= t('word.status')
th= t('word.type')
th= t('word.title')
th= t('word.status')
tbody
for ticket in tickets
tr
td= ticket.data.type
td= ticket.data.title
td= ticket.data.status
prepend sidebar
.row
a.btn.btn-lg.btn-success(href='/ticket/create/')= t('view.ticket.word.create')