From 681d9fd39021212f386117b47a382dcd67b7b988 Mon Sep 17 00:00:00 2001 From: ardenian Date: Sun, 16 Oct 2016 14:01:06 +0200 Subject: [PATCH 1/6] test commit for displaying type --- src/mods/tier.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mods/tier.js b/src/mods/tier.js index 9ef4cc6..396cedf 100644 --- a/src/mods/tier.js +++ b/src/mods/tier.js @@ -185,6 +185,10 @@ idrinth.tier = { value: 'https://dotd.idrinth.de/static/raid-image-service/' + idrinth.tier.list[list[count]].url + '/' } ] }, + { + type: 'label', + content: boss.types + }, { type: 'strong', content: idrinth.tier.list[list[count]].name From 21379ae240c6aac43fde9cbbe8c6426483522590 Mon Sep 17 00:00:00 2001 From: ardenian Date: Sun, 16 Oct 2016 14:10:42 +0200 Subject: [PATCH 2/6] reset changes --- src/mods/tier.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mods/tier.js b/src/mods/tier.js index 396cedf..9ef4cc6 100644 --- a/src/mods/tier.js +++ b/src/mods/tier.js @@ -185,10 +185,6 @@ idrinth.tier = { value: 'https://dotd.idrinth.de/static/raid-image-service/' + idrinth.tier.list[list[count]].url + '/' } ] }, - { - type: 'label', - content: boss.types - }, { type: 'strong', content: idrinth.tier.list[list[count]].name From e05981e40167122b299e26deaaf7d3be00ae5c4c Mon Sep 17 00:00:00 2001 From: ardenian Date: Sun, 16 Oct 2016 15:08:52 +0200 Subject: [PATCH 3/6] Adding a raid's types information to the tier tab. fixes #149. --- src/mods/tier.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mods/tier.js b/src/mods/tier.js index 9ef4cc6..3a546c0 100644 --- a/src/mods/tier.js +++ b/src/mods/tier.js @@ -203,6 +203,11 @@ idrinth.tier = { } ] }, + { + type: 'label', + content: idrinth.tier.list[list[count]].types.join(', ') + + }, { type: 'span', content: 'AP: ' + idrinth.ui.formatNumber ( idrinth.tier.list[list[count]].ap ) From 2838f0c9c5113234f2696f93ba2a39d8ce955abd Mon Sep 17 00:00:00 2001 From: ardenian Date: Sun, 16 Oct 2016 15:13:07 +0200 Subject: [PATCH 4/6] changing label to span --- src/mods/tier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mods/tier.js b/src/mods/tier.js index 3a546c0..2d5aee8 100644 --- a/src/mods/tier.js +++ b/src/mods/tier.js @@ -204,7 +204,7 @@ idrinth.tier = { ] }, { - type: 'label', + type: 'span', content: idrinth.tier.list[list[count]].types.join(', ') }, From 445c9efb2869e5d10fe2eef4a7c1133f2dc85768 Mon Sep 17 00:00:00 2001 From: ardenian Date: Mon, 17 Oct 2016 14:29:44 +0200 Subject: [PATCH 5/6] Moved types under the boss name, as shown in the example Removed white space --- src/mods/tier.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/mods/tier.js b/src/mods/tier.js index 2d5aee8..c54c8ee 100644 --- a/src/mods/tier.js +++ b/src/mods/tier.js @@ -189,6 +189,10 @@ idrinth.tier = { type: 'strong', content: idrinth.tier.list[list[count]].name }, + { + type: 'span', + content: idrinth.tier.list[list[count]].types.join( ', ' ) + }, { type: 'button', content: idrinth.text.get ( "tier.tag" ), @@ -203,11 +207,6 @@ idrinth.tier = { } ] }, - { - type: 'span', - content: idrinth.tier.list[list[count]].types.join(', ') - - }, { type: 'span', content: 'AP: ' + idrinth.ui.formatNumber ( idrinth.tier.list[list[count]].ap ) From 68129710c72ce47e0b37156ab2846d2a20e8dcbc Mon Sep 17 00:00:00 2001 From: Ardenian Date: Tue, 18 Oct 2016 14:24:49 +0200 Subject: [PATCH 6/6] Update tier.js Fixing code style --- src/mods/tier.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mods/tier.js b/src/mods/tier.js index c54c8ee..4cd17bf 100644 --- a/src/mods/tier.js +++ b/src/mods/tier.js @@ -191,7 +191,7 @@ idrinth.tier = { }, { type: 'span', - content: idrinth.tier.list[list[count]].types.join( ', ' ) + content: idrinth.tier.list[list[count]].types.join ( ', ' ) }, { type: 'button', @@ -293,4 +293,4 @@ idrinth.tier = { } makeList ( result ); } -}; \ No newline at end of file +};