File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
<div class =" twelve wide column {{ unless device.isMobile ' right aligned' }} " >
21
21
{{ #if device.isMobile }}
22
22
<div class =" ui icon fluid buttons" >
23
- <a href =" {{ href-to ' public ' model.id }} " class =" ui button" data-tooltip ={{ t ' Preview' }} data-position =" top left" >
23
+ <a href =" {{ model.url }} " class =" ui button" data-tooltip ={{ t ' Preview' }} data-position =" top left" >
24
24
<i class =" unhide icon" ></i >
25
25
</a >
26
26
<button class =" ui button" {{ action ' togglePublishState' }} data-tooltip =" {{ if (eq model.state ' published' ) ' Unpublish' ' Publish' }} " data-position =" top left" >
32
32
<button class =" ui red button" {{ action ' openDeleteEventModal' }} data-tooltip ={{ t ' Delete' }} data-position =" top left" ><i class =" trash icon" ></i ></button >
33
33
</div >
34
34
{{ else }}
35
- <a href =" {{ href-to ' public ' model.id }} " class =" ui button labeled icon small" >
35
+ <a href =" {{ model.url }} " class =" ui button labeled icon small" >
36
36
<i class =" unhide icon" ></i >
37
37
{{ t ' Preview' }}
38
38
</a >
You can’t perform that action at this time.
0 commit comments