about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-07-04 14:53:57 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-07-04 14:53:57 -0400
commitf1d4da70ccb3d298cc7cf1cdcde2748048238dab (patch)
tree7535110c1aa0fb0a651929ce76972db05cd3f48b /app
parenta70494be4e1767e0cb7ff4218e7f266ece56089c (diff)
downloadpokeviewer-f1d4da70ccb3d298cc7cf1cdcde2748048238dab.tar.gz
pokeviewer-f1d4da70ccb3d298cc7cf1cdcde2748048238dab.tar.bz2
pokeviewer-f1d4da70ccb3d298cc7cf1cdcde2748048238dab.zip
Pokemon embed link opens in new tab
Diffstat (limited to 'app')
-rw-r--r--app/views/pokeviewer/pokemon/_pokemon.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/pokeviewer/pokemon/_pokemon.html.haml b/app/views/pokeviewer/pokemon/_pokemon.html.haml index 573e7eb..7a5f971 100644 --- a/app/views/pokeviewer/pokemon/_pokemon.html.haml +++ b/app/views/pokeviewer/pokemon/_pokemon.html.haml
@@ -2,7 +2,7 @@
2 .pokemon-basics 2 .pokemon-basics
3 .pokemon-nameline 3 .pokemon-nameline
4 = image_tag(@pokemon.pokeball_icon_path, class: "pokemon-ball") 4 = image_tag(@pokemon.pokeball_icon_path, class: "pokemon-ball")
5 %span.pokemon-name= link_to_unless_current @pokemon.current.nickname, @pokemon 5 %span.pokemon-name= link_to_unless_current @pokemon.current.nickname, @pokemon, target: "_blank"
6 %span.pokemon-gender{ class: @pokemon.gender }= @pokemon.gender_symbol 6 %span.pokemon-gender{ class: @pokemon.gender }= @pokemon.gender_symbol
7 .pokemon-level= "Lv. #{@pokemon.current.level}" 7 .pokemon-level= "Lv. #{@pokemon.current.level}"
8 .pokemon-image 8 .pokemon-image