Commit 1bcc887285a5c04ab348888c027de2fe2a45220e
Exists in
colab
and in
2 other branches
Merge pull request #340 from mezuro/fix_tooltip_links
Change tutorial's links to point to mezuro.github.io
Showing
6 changed files
with
11 additions
and
11 deletions
Show diff stats
app/views/compound_metric_configurations/_form.html.erb
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | </div> |
14 | 14 | <div class="help-container"> |
15 | 15 | <p> |
16 | - <%= t('calculate_weighted_average_html', :href => link_to(t('module'), tutorials_path("keywords", anchor: "module"))) %> | |
16 | + <%= t('calculate_weighted_average_html', :href => link_to(t('module'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#metric", target: "_blank")) %> | |
17 | 17 | </p> |
18 | 18 | </div> |
19 | 19 | </div> |
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | </div> |
31 | 31 | <div class="help-container"> |
32 | 32 | <p> |
33 | - <%= t('associated_metric_configuration_form_html', :href => link_to(t('reading_group'), tutorials_path('keywords', anchor: 'reading_group'))) %> | |
33 | + <%= t('associated_metric_configuration_form_html', :href => link_to(t('reading_group'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#reading-group", target: "_blank")) %> | |
34 | 34 | </p> |
35 | 35 | </div> |
36 | 36 | </div> | ... | ... |
app/views/kalibro_ranges/_form.html.erb
... | ... | @@ -14,8 +14,8 @@ |
14 | 14 | <div class="help-container"> |
15 | 15 | <p> |
16 | 16 | <%= t_hint('reading', 'kalibro_range', |
17 | - reading_href: link_to(t('reading'), tutorials_path('keywords', anchor: 'reading')), | |
18 | - range_href: link_to(KalibroRange.model_name.human, tutorials_path('keywords', anchor: 'range')) | |
17 | + reading_href: link_to(t('reading'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#reading", target: "_blank"), | |
18 | + range_href: link_to(KalibroRange.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#range", target: "_blank") | |
19 | 19 | ).html_safe |
20 | 20 | %> |
21 | 21 | </p> |
... | ... | @@ -65,7 +65,7 @@ |
65 | 65 | </div> |
66 | 66 | <div class="help-container"> |
67 | 67 | <p> |
68 | - <%= t_hint('comments', 'kalibro_range', metric_href: link_to(t('metric'), tutorials_path('keywords', anchor: 'metric'))).html_safe %> | |
68 | + <%= t_hint('comments', 'kalibro_range', metric_href: link_to(t('metric'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#metric", target: "_blank")).html_safe %> | |
69 | 69 | </p> |
70 | 70 | </div> |
71 | 71 | </div> | ... | ... |
app/views/metric_configurations/_form.html.erb
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | </div> |
11 | 11 | <div class="help-container"> |
12 | 12 | <p> |
13 | - <%= t('calculate_weighted_average_html', href: link_to(KalibroModule.model_name.human, tutorials_path("keywords", anchor: "module"))) %> | |
13 | + <%= t('calculate_weighted_average_html', href: link_to(KalibroModule.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#module", target: "_blank")) %> | |
14 | 14 | </p> |
15 | 15 | </div> |
16 | 16 | </div> |
... | ... | @@ -22,7 +22,7 @@ |
22 | 22 | </div> |
23 | 23 | <div class="help-container"> |
24 | 24 | <p> |
25 | - <%= t('aggregation_form_helper_html', href: link_to(t('granularity'), tutorials_path('keywords', anchor: 'granularity'))) %> | |
25 | + <%= t('aggregation_form_helper_html', href: link_to(t('granularity'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#granularity", target: "_blank")) %> | |
26 | 26 | </p> |
27 | 27 | </div> |
28 | 28 | </div> |
... | ... | @@ -38,7 +38,7 @@ |
38 | 38 | </div> |
39 | 39 | <div class="help-container"> |
40 | 40 | <p> |
41 | - <%= t('reading_group_helper_html', href: link_to(ReadingGroup.model_name.human, tutorials_path('keywords', anchor: 'reading-group'))) %> | |
41 | + <%= t('reading_group_helper_html', href: link_to(ReadingGroup.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#reading-group", target: "_blank")) %> | |
42 | 42 | </p> |
43 | 43 | </div> |
44 | 44 | </div> | ... | ... |
app/views/repositories/_form.html.erb
... | ... | @@ -97,7 +97,7 @@ |
97 | 97 | </div> |
98 | 98 | <div class="help-container"> |
99 | 99 | <p> |
100 | - <%= t('activemodel.hints.repository.kalibro_configuration', configuration_href: link_to(KalibroConfiguration.model_name.human, tutorials_path('keywords', anchor: 'configuration'))).html_safe %> | |
100 | + <%= t('activemodel.hints.repository.kalibro_configuration', configuration_href: link_to(KalibroConfiguration.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#configuration", target: "_blank")).html_safe %> | |
101 | 101 | </p> |
102 | 102 | </div> |
103 | 103 | </div> | ... | ... |
app/views/tutorials/configuring.en.html.erb
... | ... | @@ -16,7 +16,7 @@ In order to create a Configuration, you must: |
16 | 16 | |
17 | 17 | <h3>Introduction</h3> |
18 | 18 | |
19 | -To process a repository, Mezuro uses configurations which you specify on the <%= link_to(t('repository_creation'), tutorials_path('analyzing')) %>. | |
19 | +To process a repository, Mezuro uses configurations which you specify on the <%= link_to(t('repository_creation'), "http://mezuro.github.io/tutorial/2016/04/01/tutorial-analysis.html", target: "_blank") %>. | |
20 | 20 | |
21 | 21 | <h4>Configuration components</h4> |
22 | 22 | ... | ... |
app/views/tutorials/configuring.pt.html.erb
... | ... | @@ -16,7 +16,7 @@ Para criar uma configuração, é necessário: |
16 | 16 | |
17 | 17 | <h3>Introdução</h3> |
18 | 18 | |
19 | -Para processar um repositório, o Mezuro utiliza configurações que você especifica no <%= link_to(t('repository_creation'), tutorials_path('analyzing')) %>. | |
19 | +Para processar um repositório, o Mezuro utiliza configurações que você especifica no <%= link_to(t('repository_creation'), "http://mezuro.github.io/tutorial/2016/04/01/tutorial-analysis.html", target: "_blank") %>. | |
20 | 20 | |
21 | 21 | <h4>Componentes de Configuração</h4> |
22 | 22 | ... | ... |