From c21a8db8a4094fd048170fb308878b4a44a7e3a2 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 7 Jan 2022 14:46:31 +0100 Subject: [PATCH 1/2] Add sass to package.json and gulpfile so building works. --- gulpfile.js | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 36c273908b..66aa8076cc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -5,7 +5,7 @@ var minifycss = require('gulp-minify-css'); var uglify = require('gulp-uglify'); var imagemin = require('gulp-imagemin'); var del = require('del'); -var sass = require('gulp-sass'); +var sass = require('gulp-sass')(require('sass')); var bower = require('gulp-bower'); var runSequence = require('run-sequence'); var shell = require('gulp-shell'); diff --git a/package.json b/package.json index c3184ef19a..87860d0319 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,8 @@ "jshint": "*", "jshint-stylish": "^1.0.0", "run-sequence": "^2.2", + "sass": "^1.46.0", "svgo": "*" - } + }, + "dependencies": {} } From 470b879795b49171c5fa0593b6fd33ce735fb3de Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 7 Jan 2022 16:48:28 +0100 Subject: [PATCH 2/2] Update link to search commits for Gitlab --- app/templates/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/index.html.erb b/app/templates/index.html.erb index 06dade7dbd..992b4be8e9 100644 --- a/app/templates/index.html.erb +++ b/app/templates/index.html.erb @@ -29,7 +29,7 @@ <%= (lastMentions == mentions) ? lastOrder : i %> <% if !notSpecified %><%= name %><% else %><%= name %><% end %> - <% if !notSpecified %><%= mentions %><% else %><%= mentions %><% end %> + <% if !notSpecified %><%= mentions %><% else %><%= mentions %><% end %> <%= ((mentions/sum)*100).round(4) %>% <% if lastMentions != mentions %> <% lastOrder = i %>