This commit is contained in:
depreciate 2019-02-28 03:15:00 +10:30
parent 5770c061de
commit 5a07ba0851

View File

@ -45,9 +45,9 @@
<div class="full-centered column"> <div class="full-centered column">
<div class="ui vertical buttons"> <div class="ui vertical buttons">
<a href="osu://dl/{{ .Beatmapset.ID }}" class="ui pink labeled icon button"><i class="download icon"></i>{{ $.T "osu!direct" }}</a> <a href="osu://dl/{{ .Beatmapset.ID }}" class="ui pink labeled icon button"><i class="download icon"></i>{{ $.T "osu!direct" }}</a>
<a href="http://cg.mxr.lol/d/{{ .Beatmapset.ID }}" class="ui green labeled icon button"><i class="download icon"></i>{{ $.T "download" }}</a> <a href="https://storage.yozora.pw/d/{{ .Beatmapset.ID }}" class="ui green labeled icon button"><i class="download icon"></i>{{ $.T "download" }}</a>
{{ if .Beatmapset.HasVideo }} {{ if .Beatmapset.HasVideo }}
<a href="http://cg.mxr.lol/d/{{ .Beatmapset.ID }}?novideo" class="ui gray labeled icon button"><i class="download icon"></i>{{ $.T "download (no video)" }}</a> <a href="https://storage.yozora.pw/d/{{ .Beatmapset.ID }}?novideo" class="ui gray labeled icon button"><i class="download icon"></i>{{ $.T "download (no video)" }}</a>
{{ end }} {{ end }}
{{ if has $.Context.User.Privileges 256 }} {{ if has $.Context.User.Privileges 256 }}
<a href="https://old.yozora.pw/index.php?p=124&bsid={{ .Beatmapset.ID }}" class="ui violet labeled icon button"><i class="thumbs up icon"></i>{{ $.T "Rank in RAP"}}</a> <a href="https://old.yozora.pw/index.php?p=124&bsid={{ .Beatmapset.ID }}" class="ui violet labeled icon button"><i class="thumbs up icon"></i>{{ $.T "Rank in RAP"}}</a>