Skip to content

Commit 855c50f

Browse files
dkastlsanak
andauthored
Do not hide map by default (#60)
* Do not hide map by default * Changed default icon status to expended Signed-off-by: Ko Nagase <[email protected]> Co-authored-by: Ko Nagase <[email protected]>
1 parent 7bed88a commit 855c50f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/views/issues/index/_map.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<% if @project and @project.module_enabled?(:gtt) %>
22

3-
<fieldset id="location" class="collapsible collapsed">
4-
<legend class="icon icon-collapsed"><%= l(:field_location) %></legend>
3+
<fieldset id="location" class="collapsible">
4+
<legend class="icon icon-expended"><%= l(:field_location) %></legend>
55

66
<%= map_tag map: @project.map, geom: (Issue.array_to_geojson(@issues, include_properties: { only: %i(id subject tracker_id status_id) }) if @issues), popup: { href: '/issues/[id]' } %>
77
</fieldset>

assets/stylesheets/app.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ div.usermap h3 {
7676
padding-left: 20px;
7777
}
7878
/* hide Map on issues list by default */
79-
fieldset#location > div.ol-map{
79+
/* fieldset#location > div.ol-map{
8080
display: none;
81-
}
81+
} */

0 commit comments

Comments
 (0)