Skip to content

Commit c3ed501

Browse files
committed
Merge branch 'develop' of https://github.com/gtt-project/redmine_gtt into feature/dev-webpack
Signed-off-by: Taro Matsuzawa <[email protected]>
2 parents ea32845 + f01e226 commit c3ed501

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

lib/redmine_gtt/patches/geojson_attribute.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def geojson
7272
# doing a single select for each issue
7373
def geodata_for_print
7474
if row = self.class.where(id: id).where.not(geom: nil).
75-
pluck(Arel.sql("ST_AsGeoJson(ST_Transform(geom, 3857)) as geojson, ST_Transform(ST_Centroid(geom), 3857) as center")).
75+
pluck(Arel.sql("ST_AsGeoJson(ST_Transform(geom, 3857), 9, 0) as geojson, ST_Transform(ST_Centroid(geom), 3857) as center")).
7676
first
7777
json, center = *row
7878
{

src/stylesheets/fonts.scss

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Generated by Glyphter (http://www.glyphter.com) on Thu Jan 19 2017*/
22
@font-face {
3+
<<<<<<< HEAD:src/stylesheets/fonts.scss
34
font-family: 'Redmine';
45
src: url('../fonts/Redmine.eot');
56
src: url('../fonts/Redmine.eot?#iefix') format('embedded-opentype'),
@@ -8,6 +9,13 @@
89
url('../fonts/Redmine.svg#Redmine') format('svg');
910
font-weight: normal;
1011
font-style: normal;
12+
=======
13+
font-family: 'Redmine';
14+
src: url('../fonts/Redmine.woff') format('woff'),
15+
url('../fonts/Redmine.ttf') format('truetype');
16+
font-weight: normal;
17+
font-style: normal;
18+
>>>>>>> f01e226debbbcf4ea9f3f19bbec11ba578ef9591:assets/stylesheets/fonts.css
1119
}
1220
[class^='gtt-icon-']:before{
1321
display: inline-block;
@@ -40,12 +48,10 @@
4048
.gtt-icon-modify:before{content:'\0051';}
4149

4250
@font-face {
43-
font-family: 'mcr-icons';
44-
src: url('../fonts/mcr-icons.eot?#iefix') format('embedded-opentype'),
45-
url('../fonts/mcr-icons.woff2') format('woff2'),
46-
url('../fonts/mcr-icons.woff') format('woff'),
47-
url('../fonts/mcr-icons.ttf') format('truetype'),
48-
url('../fonts/mcr-icons.svg#mcr-icons') format('svg');
51+
font-family: "mcr-icons";
52+
src: url("../fonts/mcr-icons.woff2") format("woff2"),
53+
url("../fonts/mcr-icons.woff") format("woff"),
54+
url("../fonts/mcr-icons.ttf") format("truetype");
4955
}
5056

5157
[class^="mcr-icon-"]:before, i[class*=" mcr-icon-"]:before {
@@ -107,11 +113,8 @@
107113
*/
108114
@font-face {
109115
font-family: 'fontmaki';
110-
src: url('../fonts/fontmaki.eot');
111-
src: url('../fonts/fontmaki.eot#iefix') format('embedded-opentype'),
112-
url('../fonts/fontmaki.woff') format('woff'),
113-
url('../fonts/fontmaki.ttf') format('truetype'),
114-
url('../fonts/fontmaki.svg#fontmaki') format('svg');
116+
src: url('../fonts/fontmaki.woff') format('woff'),
117+
url('../fonts/fontmaki.ttf') format('truetype');
115118
font-weight: normal;
116119
font-style: normal;
117120
}
@@ -126,11 +129,11 @@
126129
}
127130
*/
128131

129-
[class^="maki-"]:before, [class*=" maki-"]:before {
132+
[class^="maki-"]:before, [class*=" maki-"]:before {
130133
font-family: "fontmaki";
131134
font-style: normal;
132135
font-weight: normal;
133-
speak: none;
136+
/* speak: none; */
134137

135138
display: inline-block;
136139
text-decoration: inherit;

0 commit comments

Comments
 (0)