summaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-08-21 08:32:15 +0000
committerGo MAEDA <maeda@farend.jp>2020-08-21 08:32:15 +0000
commit4edba4fa9d830412f90176dd2babbc282959f94c (patch)
treeac3a6e4c198467ca22a563d5fc9066899baaa055 /app/views/layouts
parentab0dd3a52a60d9c03fdbbaca8373636b0dc93922 (diff)
downloadredmine-4edba4fa9d830412f90176dd2babbc282959f94c.tar.gz
redmine-4edba4fa9d830412f90176dd2babbc282959f94c.zip
Show open/closed badge in email notifications (#33834).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19982 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/mailer.html.erb20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb
index f6a457ef9..fff36c0cb 100644
--- a/app/views/layouts/mailer.html.erb
+++ b/app/views/layouts/mailer.html.erb
@@ -47,6 +47,26 @@ table, td, th {
border: 1px solid #bbb;
padding: 4px;
}
+.badge {
+ position:relative;
+ font-weight:bold;
+ font-size: 10px;
+ bottom: 2px;
+ padding: 1px 3px;
+ margin-right: 2px;
+ margin-left: 2px;
+ border-radius: 2px;
+ text-transform: uppercase;
+ text-decoration: none;
+}
+.badge-status-open {
+ color: #205D86;
+ border: 1px solid #205D86;
+}
+.badge-status-closed {
+ color: #1D781D;
+ border: 1px solid #1D781D;
+}
</style>
</head>
<body>