aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJody McIntyre <scjody@modernduck.com>2014-07-12 18:44:11 -0400
committerLouise Crow <louise.crow@gmail.com>2015-04-23 15:25:12 +0100
commit16f5fc8e554faf354004729d4212079ab3d1048d (patch)
tree119f1a15da25283643a634e5ee79c26b54c56004
parent40d4310735204c1d005ce210a757877b63573206 (diff)
Add link to widget
-rw-r--r--app/assets/stylesheets/widget.css4
-rw-r--r--app/views/request/widget.html.erb2
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/widget.css b/app/assets/stylesheets/widget.css
index 7d5a61bd5..213da1bfb 100644
--- a/app/assets/stylesheets/widget.css
+++ b/app/assets/stylesheets/widget.css
@@ -19,6 +19,10 @@ body {
overflow: hidden;
color: #5a5a5a;
}
+#alawidget-title a {
+ text-decoration: none;
+ color: #5a5a5a;
+}
#alawidget-status {
position: absolute;
top: 113px;
diff --git a/app/views/request/widget.html.erb b/app/views/request/widget.html.erb
index 9a53b3a0e..b3642d711 100644
--- a/app/views/request/widget.html.erb
+++ b/app/views/request/widget.html.erb
@@ -7,7 +7,7 @@
<div id="alawidget-top">
<div id="alawidget-left">
<div id="alawidget-title">
- <%= @info_request.title %>
+ <%= link_to @info_request.title, request_path(@info_request) %>
</div>
<div id="alawidget-status" class="<%= @info_request.calculate_status %>">
<% if @info_request.awaiting_description %>