
gitbucket.core.repo.html.upload.template.scala Maven / Gradle / Ivy
package gitbucket.core.repo.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 upload 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.Template6[String,gitbucket.core.service.RepositoryService.RepositoryInfo,List[String],Boolean,String,gitbucket.core.controller.Context,play.twirl.api.HtmlFormat.Appendable] {
/**/
def apply/*1.2*/(branch: String,
repository: gitbucket.core.service.RepositoryService.RepositoryInfo,
pathList: List[String],
protectedBranch: Boolean,
commit: String)(implicit context: gitbucket.core.controller.Context):play.twirl.api.HtmlFormat.Appendable = {
_display_ {
{
/*6.2*/import gitbucket.core.view.helpers
/*7.2*/import gitbucket.core.util.FileUtil
Seq[Any](_display_(/*8.2*/gitbucket/*8.11*/.core.html.main(s"Upload Files at ${branch} - ${repository.owner}/${repository.name}", Some(repository))/*8.115*/ {_display_(Seq[Any](format.raw/*8.117*/("""
"""),_display_(/*9.4*/gitbucket/*9.13*/.core.html.menu("files", repository)/*9.49*/{_display_(Seq[Any](format.raw/*9.50*/("""
"""),_display_(if(protectedBranch)/*10.25*/{_display_(Seq[Any](format.raw/*10.26*/("""
"""),format.raw/*11.7*/("""branch """),_display_(/*11.47*/branch),format.raw/*11.53*/(""" """),format.raw/*11.54*/("""is protected.
""")))} else {null} ),format.raw/*12.6*/("""
"""),format.raw/*13.5*/("""
""")))}),format.raw/*62.4*/("""
""")))}),format.raw/*63.2*/("""
"""),format.raw/*64.1*/("""
"""))
}
}
}
def render(branch:String,repository:gitbucket.core.service.RepositoryService.RepositoryInfo,pathList:List[String],protectedBranch:Boolean,commit:String,context:gitbucket.core.controller.Context): play.twirl.api.HtmlFormat.Appendable = apply(branch,repository,pathList,protectedBranch,commit)(context)
def f:((String,gitbucket.core.service.RepositoryService.RepositoryInfo,List[String],Boolean,String) => (gitbucket.core.controller.Context) => play.twirl.api.HtmlFormat.Appendable) = (branch,repository,pathList,protectedBranch,commit) => (context) => apply(branch,repository,pathList,protectedBranch,commit)(context)
def ref: this.type = this
}
/*
-- GENERATED --
SOURCE: src/main/twirl/gitbucket/core/repo/upload.scala.html
HASH: f43bf13d6950183688aa5ed49c65b6678d458737
MATRIX: 699->1|984->215|1026->251|1090->288|1107->297|1220->401|1260->403|1289->407|1306->416|1350->452|1388->453|1440->478|1479->479|1513->486|1580->526|1607->532|1636->533|1704->558|1736->563|1792->592|1808->599|1845->615|1961->704|1977->711|2014->727|2048->734|2064->741|2107->763|2137->766|2156->776|2182->781|2225->797|2242->805|2268->822|2329->845|2368->856|2405->866|2421->873|2458->889|2492->896|2508->903|2595->968|2626->971|2655->978|2702->994|2738->1003|2820->1058|2847->1064|2937->1127|2954->1135|2989->1149|3975->2107|4003->2113|4477->2560|4493->2567|4530->2583|4564->2590|4580->2597|4655->2650|4982->2950|5009->2956|5103->3020|5135->3022|5163->3023|5212->3044|5241->3045|5271->3048|5326->3075|5355->3076|5387->3081|5421->3088|5437->3095|5463->3100|5522->3132|5594->3183|5637->3199|5691->3232|6025->3538|6054->3539|6088->3546|6416->3847|6444->3848|6474->3851|6502->3852|6571->3893|6600->3894|6632->3899|6663->3903|6692->3904|6726->3911|6822->3979|6851->3980|6887->3989|6978->4053|7006->4054|7081->4102|7109->4103|7137->4104|7173->4112|7202->4113|7236->4120|7283->4140|7311->4141|7341->4144|7369->4145|7450->4198|7479->4199|7512->4205|7604->4270|7632->4271|7701->4312|7730->4313|7762->4318|7854->4382|7883->4383|7912->4384|7941->4385
LINES: 14->1|21->6|22->7|25->8|25->8|25->8|25->8|26->9|26->9|26->9|26->9|27->10|27->10|28->11|28->11|28->11|28->11|29->12|30->13|30->13|30->13|30->13|32->15|32->15|32->15|32->15|32->15|32->15|32->15|32->15|32->15|33->16|33->16|33->16|33->16|34->17|34->17|34->17|34->17|34->17|34->17|34->17|34->17|34->17|35->18|36->19|36->19|36->19|37->20|37->20|37->20|62->45|62->45|71->54|71->54|71->54|71->54|71->54|71->54|74->57|74->57|79->62|80->63|81->64|82->65|82->65|83->66|83->66|83->66|84->67|84->67|84->67|84->67|85->68|85->68|86->69|86->69|89->72|89->72|90->73|95->78|95->78|96->79|96->79|98->81|98->81|99->82|99->82|99->82|100->83|101->84|101->84|102->85|103->86|103->86|105->88|105->88|105->88|105->88|105->88|106->89|107->90|107->90|108->91|108->91|110->93|110->93|111->94|113->96|113->96|115->98|115->98|116->99|117->100|117->100|118->101|118->101
-- GENERATED --
*/
© 2015 - 2025 Weber Informatics LLC | Privacy Policy