show analysis provider in tab tooltip
This commit is contained in:
parent
30c487992c
commit
cf2c03f1fd
|
@ -150,7 +150,8 @@ atom = atom.some) {
|
|||
</div>
|
||||
<div class="analysis_menu">
|
||||
@if(game.analysable) {
|
||||
<a data-panel="computer_analysis" class="computer_analysis">@trans.computerAnalysis()</a>
|
||||
<a data-panel="computer_analysis" class="computer_analysis"
|
||||
@analysis.map { a => title="Provided by @usernameOrId(a.providedBy)" }>@trans.computerAnalysis()</a>
|
||||
}
|
||||
@if(!game.isPgnImport) {
|
||||
@if(timeChart.series.isDefined) {
|
||||
|
|
|
@ -17,6 +17,8 @@ case class Analysis(
|
|||
|
||||
def providedBy = by | "lichess"
|
||||
|
||||
def providedByLichess = by exists (_ startsWith "lichess-")
|
||||
|
||||
lazy val infoAdvices: InfoAdvices = {
|
||||
(Info.start(startPly) :: infos) sliding 2 collect {
|
||||
case List(prev, info) => info -> {
|
||||
|
|
Loading…
Reference in a new issue