All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gitbucket.core.releases.html.release.template.scala Maven / Gradle / Ivy

The newest version!

package gitbucket.core.releases.html

import _root_.play.twirl.api.TwirlFeatureImports._
import _root_.play.twirl.api.TwirlHelperImports._
import _root_.play.twirl.api.Html
import _root_.play.twirl.api.JavaScript
import _root_.play.twirl.api.Txt
import _root_.play.twirl.api.Xml

object release extends _root_.play.twirl.api.BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable,_root_.play.twirl.api.Format[play.twirl.api.HtmlFormat.Appendable]](play.twirl.api.HtmlFormat) with _root_.play.twirl.api.Template5[gitbucket.core.model.ReleaseTag,Seq[gitbucket.core.model.ReleaseAsset],Boolean,gitbucket.core.service.RepositoryService.RepositoryInfo,gitbucket.core.controller.Context,play.twirl.api.HtmlFormat.Appendable] {

  /**/
  def apply/*1.2*/(release: gitbucket.core.model.ReleaseTag,
  assets: Seq[gitbucket.core.model.ReleaseAsset],
  hasWritePermission: Boolean,
  repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context):play.twirl.api.HtmlFormat.Appendable = {
    _display_ {
      {
/*5.2*/import gitbucket.core.view.helpers


Seq[Any](_display_(/*6.2*/gitbucket/*6.11*/.core.html.main(s"Release ${release.name} - ${repository.owner}/${repository.name}", Some(repository))/*6.113*/{_display_(Seq[Any](format.raw/*6.114*/("""
  """),_display_(/*7.4*/gitbucket/*7.13*/.core.html.menu("releases", repository)/*7.52*/{_display_(Seq[Any](format.raw/*7.53*/("""
    """),format.raw/*8.5*/("""
"""),_display_(/*10.10*/defining(repository.tags.find(_.name == release.tag))/*10.63*/{ tag =>_display_(Seq[Any](format.raw/*10.71*/(""" """),_display_(/*11.12*/tag/*11.15*/.map/*11.19*/ { tag =>_display_(Seq[Any](format.raw/*11.28*/(""" """),format.raw/*12.13*/(""""""),_display_(/*12.133*/tag/*12.136*/.name),format.raw/*12.141*/("""
"""),_display_(/*13.136*/tag/*13.139*/.commitId.substring(0, 7)),format.raw/*13.164*/("""
"""),_display_(/*14.34*/gitbucket/*14.43*/.core.helper.html.datetimeago(tag.time)),format.raw/*14.82*/(""" """)))}),format.raw/*15.12*/(""" """)))}),format.raw/*16.10*/(""" """),format.raw/*17.7*/("""

"""),_display_(/*21.14*/release/*21.21*/.name),format.raw/*21.26*/(""" """),_display_(if(hasWritePermission)/*22.36*/{_display_(Seq[Any](format.raw/*22.37*/(""" """),format.raw/*23.15*/(""" """)))} else {null} ),format.raw/*29.14*/(""" """),format.raw/*30.11*/("""

"""),_display_(/*32.13*/helpers/*32.20*/.avatarLink(release.author, 20)),format.raw/*32.51*/(""" """),_display_(/*32.53*/helpers/*32.60*/.user(release.author, styleClass="username")),format.raw/*32.104*/(""" """),format.raw/*32.105*/("""released this """),_display_(/*32.120*/gitbucket/*32.129*/.core.helper.html.datetimeago(release.registeredDate)),format.raw/*32.182*/(""" """),format.raw/*33.11*/("""

"""),_display_(/*34.12*/helpers/*34.19*/.markdown( markdown = release.content getOrElse "No description provided.", repository = repository, branch = repository.repository.defaultBranch, enableWikiLink = false, enableRefsLink = true, enableLineBreaks = true, enableTaskList = true, hasWritePermission = hasWritePermission )),format.raw/*43.12*/(""" """),format.raw/*44.11*/("""
""")))}),format.raw/*57.4*/(""" """)))}),format.raw/*58.2*/(""" """),format.raw/*59.1*/(""" """)) } } } def render(release:gitbucket.core.model.ReleaseTag,assets:Seq[gitbucket.core.model.ReleaseAsset],hasWritePermission:Boolean,repository:gitbucket.core.service.RepositoryService.RepositoryInfo,context:gitbucket.core.controller.Context): play.twirl.api.HtmlFormat.Appendable = apply(release,assets,hasWritePermission,repository)(context) def f:((gitbucket.core.model.ReleaseTag,Seq[gitbucket.core.model.ReleaseAsset],Boolean,gitbucket.core.service.RepositoryService.RepositoryInfo) => (gitbucket.core.controller.Context) => play.twirl.api.HtmlFormat.Appendable) = (release,assets,hasWritePermission,repository) => (context) => apply(release,assets,hasWritePermission,repository)(context) def ref: this.type = this } /* -- GENERATED -- SOURCE: src/main/twirl/gitbucket/core/releases/release.scala.html HASH: 834bce173beeb250051745c64accabbe345c3e45 MATRIX: 748->1|1068->250|1131->286|1148->295|1259->397|1298->398|1327->402|1344->411|1391->450|1429->451|1460->456|1554->523|1616->576|1662->584|1701->596|1713->599|1726->603|1773->612|1814->625|1851->635|1867->642|1904->658|1938->665|1954->672|1995->692|2076->745|2089->748|2116->753|2174->784|2190->791|2227->807|2263->816|2275->819|2305->828|2402->897|2415->900|2462->925|2531->967|2549->976|2609->1015|2659->1034|2700->1044|2734->1051|2898->1188|2914->1195|2940->1200|3003->1236|3042->1237|3085->1252|3182->1322|3198->1329|3235->1345|3273->1356|3289->1363|3314->1367|3420->1446|3436->1453|3473->1469|3511->1480|3527->1487|3552->1491|3758->1653|3797->1664|3870->1710|3886->1717|3938->1748|3967->1750|3983->1757|4049->1801|4079->1802|4122->1817|4141->1826|4216->1879|4255->1890|4298->1906|4314->1913|4768->2346|4807->2357|4916->2439|4931->2445|4944->2449|4992->2459|5035->2474|5093->2505|5109->2512|5146->2528|5184->2539|5200->2546|5225->2550|5261->2559|5275->2564|5305->2573|5383->2623|5400->2630|5445->2653|5480->2660|5495->2665|5523->2671|5606->2727|5622->2734|5674->2765|5746->2806|5787->2819|5828->2833|5844->2840|5881->2856|5918->2866|5975->2902|6101->3001|6117->3008|6154->3024|6191->3034|6248->3070|6415->3207|6447->3209|6475->3210|6524->3231|6553->3232|6583->3235|6646->3270|6675->3271|6707->3276|6801->3343|6829->3344|6859->3347|6887->3348 LINES: 14->1|20->5|23->6|23->6|23->6|23->6|24->7|24->7|24->7|24->7|25->8|27->10|27->10|27->10|28->11|28->11|28->11|28->11|29->12|29->12|29->12|29->12|29->12|29->12|29->12|29->12|29->12|29->12|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|31->14|31->14|31->14|32->15|33->16|34->17|38->21|38->21|38->21|39->22|39->22|40->23|41->24|41->24|41->24|41->24|41->24|41->24|42->25|42->25|42->25|42->25|42->25|42->25|46->29|47->30|49->32|49->32|49->32|49->32|49->32|49->32|49->32|49->32|49->32|49->32|50->33|51->34|51->34|60->43|61->44|62->45|62->45|62->45|62->45|63->46|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|64->47|65->48|65->48|65->48|67->50|68->51|68->51|68->51|68->51|68->51|68->51|69->52|69->52|69->52|69->52|69->52|74->57|75->58|76->59|77->60|77->60|78->61|78->61|78->61|79->62|80->63|80->63|81->64|81->64 -- GENERATED -- */




© 2015 - 2024 Weber Informatics LLC | Privacy Policy