diff --git a/static/nryg.less b/static/nryg.less index abbb05ee..3fa07b14 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -534,6 +534,10 @@ img { img.medal { height: 60px; + + &.locked { + opacity: 0.3; + } } } } diff --git a/static/rank_icon_locked.png b/static/rank_icon_locked.png new file mode 100644 index 00000000..9db86fac --- /dev/null +++ b/static/rank_icon_locked.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebabd07ca06e02e43486019112ffaa65cb068aa15340797d5c46980c32a6116f +size 37273 diff --git a/templates/minis/dota.html b/templates/minis/dota.html index 94587041..bc9dcb8c 100644 --- a/templates/minis/dota.html +++ b/templates/minis/dota.html @@ -21,11 +21,14 @@ {{ record.wins }}
- {% if record.rank_tier is none %} - + {% if (record.wins + record.losses) < 100 %} + + {{ 100 - record.wins - record.losses }} partite rimaste + {% elif record.rank_tier is none %} + Non classificato {% elif record.rank_tier < 10 %} - + {{ record.rank_tier }} piazzamenti completati {% else %} {% if record.get_rank_stars_url() %}{% endif %}