Commit Graph

27 Commits

Author SHA1 Message Date
Lin Jen-Shin 438f0915e7 Use partials instead of simple switch case:
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7617#note_18745137
2016-11-22 01:12:19 +08:00
Lin Jen-Shin bf8c7dc3b1 Use has_trace? instead of case switch, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7617#note_18745170

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7617#note_18745221
2016-11-21 20:59:03 +08:00
Lin Jen-Shin fa936c6808 External jobs do not have show page nor traces
Fixes #24677
2016-11-21 20:29:34 +08:00
tauriedavis bab98d2979 17492 Update link color for more accessible contrast 2016-11-07 11:06:48 -08:00
Stan Hu 4f24fdc1f9 Use Hash rocket syntax to maintain Ruby 2.1 compatibility
Builds in Ruby 2.1 specs were failing in master: https://gitlab.com/gitlab-org/gitlab-ce/builds/5246591

Closes #23498
2016-10-18 16:25:15 -07:00
Lin Jen-Shin 29a6f0d28b Introduce more GitLab routing helpers, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019#note_16852207
2016-10-14 03:33:49 +08:00
Mike Greiling 36aea928a4 invert if statement order 2016-10-13 00:18:00 -05:00
Mike Greiling 5c36905a75 de-duplicate project namespace markup 2016-10-12 17:42:56 -05:00
Lin Jen-Shin 16e6431c83 Use helpers from GitlabRoutingHelper, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019#note_16832930
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019#note_16832936
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019#note_16833033
2016-10-13 01:45:46 +08:00
Lin Jen-Shin c33e2f0ae9 New hash syntax, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6019#note_16832366
2016-10-13 01:23:05 +08:00
Mike Greiling 355ffec763 add message subject to the title tag 2016-10-08 01:28:17 -05:00
Mike Greiling 6622385601 manually generate XHTML doctype since haml :format config cannot be overridden 2016-10-08 01:28:11 -05:00
Mike Greiling 1fe0861051 remove corporate address from email footer and add reference to domain of origin 2016-10-07 17:05:31 -05:00
Mike Greiling 60caeb14a7 update subject and email header message 2016-10-06 10:09:24 -05:00
Mike Greiling 004cd8df16 update pipeline failed email margins 2016-10-05 22:19:53 -05:00
Mike Greiling 0af5e3d50b move merge request link next to the commit sha and expose reference number 2016-10-05 16:48:12 -05:00
Lin Jen-Shin db6b2b1899 Show open merge request against default branch if exists 2016-09-26 17:18:30 +08:00
Lin Jen-Shin 8de8506d44 Use string interpolation if possible (better performance) 2016-09-26 16:39:52 +08:00
Lin Jen-Shin d245f98017 We already checked commit.author is not nil, so it must be there 2016-09-26 16:39:24 +08:00
Lin Jen-Shin fd2ce24149 We need to use URL in the email 2016-09-26 16:39:03 +08:00
Mike Greiling bbd7597d40 fix some remaining links 2016-09-23 16:49:05 -05:00
Lin Jen-Shin da0550c221 Fix url routes 2016-09-23 19:11:24 +08:00
Lin Jen-Shin 0a7ab639dd Only show last 10 lines from trace 2016-09-23 19:05:07 +08:00
Lin Jen-Shin ecc1b13f2c tabs to spaces 2016-09-23 19:00:24 +08:00
Mike Greiling 0275a6d4fd implement ci notification email template (first pass) 2016-09-22 23:17:41 -05:00
Lin Jen-Shin 1b1c6ebf49 Fix the template 2016-09-13 19:08:12 +08:00
Lin Jen-Shin 1bd2327c31 Add mock email templates 2016-09-01 01:20:24 +08:00