Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .discourse-compatibility
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
< 3.4.0.beta2-dev: ab73cdf83d27499192e33100bcbbe1bff65d3941
3.1.999: 58c5eabb47237b1485e76c93501433ee02011430
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default class LocationLableContainerComponent extends Component {
class="location-label-container"
>
<div class="location-label" title={{i18n "location.label.title"}}>
{{icon "map-marker-alt"}}
{{icon "location-dot"}}
<span class="location-text">
{{locationFormat @topic.location this.opts}}
</span>
Expand Down
2 changes: 1 addition & 1 deletion assets/javascripts/discourse/components/user-location.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class LocationMapComponent extends Component {
{{willDestroy this.unbindClick}}
class="user-location-widget"
>
{{icon "map-marker-alt"}}
{{icon "location-dot"}}
<div class="location-label">
{{this.userLocation}}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export default {
) {
const url = topic.get("url");
results.push({
icon: "map-marker-alt",
icon: "location-dot",
title: I18n.t(`topic_statuses.location.help`),
href: url,
openTag: "a href",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
@title="location.label.add"
@action={{action "showAddLocation"}}
@translatedLabel={{this.valueLabel}}
@icon="map-marker-alt"
@icon="location-dot"
/>
{{#unless this.noText}}
<DButton
@icon="times"
@icon="xmark"
@action={{action "removeLocation"}}
@class="remove"
/>
Expand All @@ -17,14 +17,14 @@
{{#if this.iconOnly}}
<DButton
@class="add-location-btn"
@icon="map-marker-alt"
@icon="location-dot"
@action={{action "showAddLocation"}}
@title={{this.addLabel}}
/>
{{else}}
<DButton
@class="add-location-btn"
@icon="map-marker-alt"
@icon="location-dot"
@label={{this.addLabel}}
@action={{action "showAddLocation"}}
@title={{this.addLabel}}
Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/common/locations-user.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.user-location-widget {
display: flex;

.d-icon-map-marker-alt {
.d-icon-location-dot {
margin-top: 4px;
margin-right: 5px;
}
Expand Down
4 changes: 2 additions & 2 deletions assets/stylesheets/common/locations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@
margin-left: 10px;
}

.d-icon-map-marker-alt {
.d-icon-location-dot {
color: var(--primary);
}
}

.topic-list-item.visited .d-icon-map-marker-alt {
.topic-list-item.visited .d-icon-location-dot {
color: var(--primary-medium);
}

Expand Down
2 changes: 1 addition & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
# name: discourse-locations
# about: Tools for handling locations in Discourse
# version: 6.7.2
# version: 6.7.3
# authors: Angus McLeod, Robert Barrow
# contact_emails: development@pavilion.tech
# url: https://github.com/angusmcleod/discourse-locations
Expand Down
Loading