gitbucket.core.helper.html.uploadavatar.template.scala Maven / Gradle / Ivy
The newest version!
package gitbucket.core.helper.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 uploadavatar 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.Template2[Option[gitbucket.core.model.Account],gitbucket.core.controller.Context,play.twirl.api.HtmlFormat.Appendable] {
/**/
def apply/*1.2*/(account: Option[gitbucket.core.model.Account])(implicit context: gitbucket.core.controller.Context):play.twirl.api.HtmlFormat.Appendable = {
_display_ {
{
Seq[Any](format.raw/*2.1*/("""
"""),_display_(if(account.nonEmpty && account.get.image.nonEmpty)/*3.54*/{_display_(Seq[Any](format.raw/*3.55*/("""
"""),format.raw/*4.5*/("""
""")))}else/*5.10*/{_display_(Seq[Any](format.raw/*5.11*/("""
"""),format.raw/*6.5*/("""Upload Image
""")))}),format.raw/*7.4*/("""
"""),format.raw/*8.1*/("""
"""),_display_(if(account.nonEmpty && account.get.image.nonEmpty)/*9.52*/{_display_(Seq[Any](format.raw/*9.53*/("""
"""),format.raw/*10.3*/("""
""")))} else {null} ),format.raw/*13.2*/("""
"""),format.raw/*14.1*/("""
"""),_display_(if(account.isEmpty || account.get.image.isEmpty)/*15.50*/{_display_(Seq[Any](format.raw/*15.51*/("""
"""),format.raw/*16.1*/("""
""")))} else {null} ),format.raw/*32.2*/("""
"""),format.raw/*33.1*/(""""""))
}
}
}
def render(account:Option[gitbucket.core.model.Account],context:gitbucket.core.controller.Context): play.twirl.api.HtmlFormat.Appendable = apply(account)(context)
def f:((Option[gitbucket.core.model.Account]) => (gitbucket.core.controller.Context) => play.twirl.api.HtmlFormat.Appendable) = (account) => (context) => apply(account)(context)
def ref: this.type = this
}
/*
-- GENERATED --
SOURCE: src/main/twirl/gitbucket/core/helper/uploadavatar.scala.html
HASH: c4c7c4e15c22cd1bf532d99e9c40140b08501fa8
MATRIX: 653->1|847->102|958->187|996->188|1027->193|1064->204|1079->211|1104->216|1132->218|1147->225|1180->238|1254->296|1292->297|1323->302|1394->344|1421->345|1505->403|1543->404|1573->407|1695->486|1723->487|1845->582|1884->583|1912->584|1961->605|1990->606|2020->609|2093->654|2122->655|2154->660|2188->667|2204->674|2230->679|2386->808|2414->809|2489->856|2518->857|2550->862|2645->930|2673->931|2703->934|2731->935|2788->949|2816->950|2977->1082|3007->1083|3037->1086|3079->1101|3107->1102|3136->1104|3178->1118|3207->1119|3237->1122|3321->1179|3349->1180|3378->1182|3438->1214|3467->1215|3497->1218|3596->1290|3624->1291|3653->1293|3692->1304|3721->1305|3751->1308|3867->1397|3895->1398|3923->1399
LINES: 14->1|19->2|20->3|20->3|21->4|21->4|21->4|21->4|21->4|21->4|21->4|22->5|22->5|23->6|24->7|25->8|26->9|26->9|27->10|30->13|31->14|32->15|32->15|33->16|34->17|34->17|35->18|35->18|35->18|36->19|36->19|36->19|36->19|41->24|41->24|43->26|43->26|44->27|46->29|46->29|47->30|47->30|49->32|50->33|51->34|51->34|52->35|53->36|53->36|55->38|55->38|55->38|56->39|59->42|59->42|61->44|61->44|61->44|62->45|66->49|66->49|68->51|68->51|68->51|69->52|73->56|73->56|74->57
-- GENERATED --
*/