<commit_before>package views.html.user

import lila.api.Context
import lila.app.templating.Environment._
import lila.app.ui.ScalatagsTemplate._

import controllers.routes
import lila.user.User

object download {
  def apply(user: lila.user.User)(implicit ctx: Context): Frag = {
    val title = s"${user.username} • ${trans.exportGames.txt()}"
    views.html.base.layout(
      title = s"${user.username} • ${trans.exportGames.txt()}",
      moreCss = cssTag("search"),
      moreJs = jsModule("userGamesDownload")
    ) {
      main(cls := "box page-small search")(
        h1(userLink(user), s" • ${trans.exportGames.txt()}"),
        form(
          id := "dl-form",
          cls := "box__pad search__form"
        )(
          table(
            color,
            date,
            opponent,
            mode,
            analysis,
            ongoing,
            perfToggles(user),<commit_msg>userGamesDownload: Remove unused title val<commit_after>package views.html.user

import lila.api.Context
import lila.app.templating.Environment._
import lila.app.ui.ScalatagsTemplate._

import controllers.routes
import lila.user.User

object download {
  def apply(user: lila.user.User)(implicit ctx: Context): Frag = {
    views.html.base.layout(
      title = s"${user.username} • ${trans.exportGames.txt()}",
      moreCss = cssTag("search"),
      moreJs = jsModule("userGamesDownload")
    ) {
      main(cls := "box page-small search")(
        h1(userLink(user), s" • ${trans.exportGames.txt()}"),
        form(
          id := "dl-form",
          cls := "box__pad search__form"
        )(
          table(
            color,
            date,
            opponent,
            mode,
            analysis,
            ongoing,
            perfToggles(user),
{'fraction_non_alphanumeric': 0.13363533408833522, 'fraction_numerical': 0.0011325028312570782, 'mean_word_length': 2.2362637362637363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6692426', 'n_tokens_mistral': 546, 'n_tokens_neox': 549, 'n_words': 110}