Skip to content

Commit

Permalink
Merge pull request #16658 from schlawg/opening-remove-beta-tag
Browse files Browse the repository at this point in the history
remove BETA tag from opening page
  • Loading branch information
ornicar authored Dec 25, 2024
2 parents 29a95dc + 62a3c50 commit 3b73531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions modules/opening/src/main/ui/OpeningBits.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import ScalatagsTemplate.{ *, given }
final class OpeningBits(helpers: Helpers):
import helpers.{ *, given }

def beta = span(cls := "opening__beta")("BETA")

def pageModule(page: Option[OpeningPage])(using Context) =
PageModule(
"opening",
Expand Down
5 changes: 2 additions & 3 deletions modules/opening/src/main/ui/OpeningUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class OpeningUi(helpers: Helpers, bits: OpeningBits, wiki: WikiUi):
searchAndConfig(page.query.config, "", ""),
resultsList(Nil),
boxTop(
h1("Chess openings", bits.beta),
h1("Chess openings"),
div(cls := "box__top__actions")(
a(href := routes.Opening.tree)("Name tree"),
a(href := s"${routes.UserAnalysis.index}#explorer")("Explorer")
Expand Down Expand Up @@ -96,8 +96,7 @@ final class OpeningUi(helpers: Helpers, bits: OpeningBits, wiki: WikiUi):
a(href := openingKeyUrl(k))(cls := className)(name)
}
)
),
beta
)
)
),
div(cls := "opening__intro")(
Expand Down

0 comments on commit 3b73531

Please sign in to comment.