File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ This plug-in provides Emoji support for GitBucket.
9
9
10
10
Plugin version | GitBucket version
11
11
:--------------|:--------------------
12
+ 4.5.x | 4.18.x -
12
13
4.4.x | 4.10.x -
13
14
4.3.x | 4.3.x - 4.9.x
14
15
Original file line number Diff line number Diff line change 1
1
val Organization = " io.github.gitbucket"
2
2
val ProjectName = " gitbucket-emoji-plugin"
3
- val ProjectVersion = " 4.5.0-SNAPSHOT "
4
- val GitBucketVersion = Option (System .getProperty(" gitbucket.version" )).getOrElse(" 4.16 .0" )
3
+ val ProjectVersion = " 4.5.0"
4
+ val GitBucketVersion = Option (System .getProperty(" gitbucket.version" )).getOrElse(" 4.18 .0" )
5
5
6
6
organization := Organization
7
7
name := ProjectName
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
14
14
15
15
override val versions : List [Version ] = List (
16
16
new Version (" 4.3.0" ),
17
- new Version (" 4.4.0" )
17
+ new Version (" 4.4.0" ),
18
+ new Version (" 4.5.0" )
18
19
)
19
20
20
21
override val assetsMappings = Seq (" /emoji" -> " /gitbucket/emoji/assets" )
@@ -33,7 +34,7 @@ class Plugin extends gitbucket.core.plugin.Plugin {
33
34
override val context : Seq [String ] = Seq (" wiki" , " issues" )
34
35
override def values (repository : RepositoryInfo ): Seq [String ] = EmojiUtil .emojis.toSeq
35
36
override def template (implicit context : Context ): String =
36
- s """ '<img src=\" ${context.path}/plugin-assets/emoji/' + value + '.png\" class=\"emoji\"></img>' + value """
37
+ s """ '<img src=\" ${context.path}/plugin-assets/emoji/' + option. value + '.png\" class=\"emoji\"></img>' + option. value """
37
38
}
38
39
)
39
40
}
You can’t perform that action at this time.
0 commit comments