From e4c560be5b7ce44634423f711859c6ec322ccec7 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Thu, 1 Apr 2021 13:37:48 +0200 Subject: [PATCH] Add title to followup plugin --- .../templates/classic/partials/followup.ejs | 128 +++++++++--------- source/templates/classic/style.css | 3 + 2 files changed, 69 insertions(+), 62 deletions(-) diff --git a/source/templates/classic/partials/followup.ejs b/source/templates/classic/partials/followup.ejs index 100fd34c..38d4baa3 100644 --- a/source/templates/classic/partials/followup.ejs +++ b/source/templates/classic/partials/followup.ejs @@ -1,67 +1,71 @@ <% if (plugins.followup) { %> -
+
+

+ + Overall repositories issues and pull requests status +

+
+
+

Issues

+ <% if (plugins.followup.error) { %> +
+
+ + <%= plugins.followup.error.message %> +
+
+ <% } else { %> + + + + + + + + +
+
+ + <%= plugins.followup.issues.closed %> Closed +
+
+ + <%= plugins.followup.issues.open %> Open +
+
+ <% } %> +
-
-

Issues

- <% if (plugins.followup.error) { %> -
-
- - <%= plugins.followup.error.message %> +
+

Pull requests

+ <% if (plugins.followup.error) { %> +
+
+ + <%= plugins.followup.error.message %> +
+
+ <% } else { %> + + + + + + + + +
+
+ + <%= plugins.followup.pr.merged %> Merged +
+
+ + <%= plugins.followup.pr.open %> Open +
-
- <% } else { %> - - - - - - - - -
-
- - <%= plugins.followup.issues.closed %> Closed -
-
- - <%= plugins.followup.issues.open %> Open -
-
- <% } %> -
- -
-

Pull requests

- <% if (plugins.followup.error) { %> -
-
- - <%= plugins.followup.error.message %> -
-
- <% } else { %> - - - - - - - - -
-
- - <%= plugins.followup.pr.merged %> Merged -
-
- - <%= plugins.followup.pr.open %> Open -
-
- <% } %> -
- + <% } %> +
+
<% } %> \ No newline at end of file diff --git a/source/templates/classic/style.css b/source/templates/classic/style.css index 6c930fcd..9948a605 100644 --- a/source/templates/classic/style.css +++ b/source/templates/classic/style.css @@ -82,6 +82,9 @@ .margin-bottom { margin-bottom: 16px; } + .no-margin-top { + margin-top: 0px; + } /* User avatar */ .avatar {