Feature #39882 » highlight-roadmap-version.diff
app/assets/stylesheets/application.css | ||
---|---|---|
710 | 710 |
div#roadmap .wiki h1 { font-size: 120%; } |
711 | 711 |
div#roadmap .wiki h2 { font-size: 110%; } |
712 | 712 |
div#roadmap h2, div#roadmap h3 {padding-right: 0;} |
713 |
div#roadmap header:target {background-color: #DDEEFF;} |
|
713 | 714 |
body.controller-versions.action-show div#roadmap .related-issues {width:70%;} |
714 | 715 | |
715 | 716 |
div#roadmap .version-article {padding-bottom: 12px;} |
app/views/versions/_sidebar.html.erb | ||
---|---|---|
36 | 36 |
<ul> |
37 | 37 |
<% @versions.each do |version| %> |
38 | 38 |
<li> |
39 |
<%= link_to(format_version_name(version), "##{version_anchor(version)}") %>
|
|
39 |
<%= link_to(format_version_name(version), "#version-#{version.id}") %>
|
|
40 | 40 |
</li> |
41 | 41 |
<% end %> |
42 | 42 |
</ul> |
app/views/versions/index.html.erb | ||
---|---|---|
21 | 21 |
<%= link_to l(:button_edit), edit_version_path(version), :title => l(:button_edit), :class => 'icon-only icon-edit' %> |
22 | 22 |
</div> |
23 | 23 |
<% end %> |
24 |
<header> |
|
24 |
<header id="version-<%= version.id %>">
|
|
25 | 25 |
<h3 class="icon icon-package version inline-flex"><%= link_to_version version, :name => version_anchor(version) %></h3> |
26 | 26 |
<span class="badge badge-status-<%= version.status %>"><%= l("version_status_#{version.status}") %></span> |
27 | 27 |
</header> |