diff options
author | Jody McIntyre <scjody@modernduck.com> | 2014-07-12 18:44:11 -0400 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-11-17 18:18:58 +0000 |
commit | e1ff8e2d0dc382240dba71558f10513fc99f4e4b (patch) | |
tree | 3e3ac031111c330b9a74e4a59beb36f156adaa94 | |
parent | 56000b053c25274fc0fe84383f4fae1298399da0 (diff) |
Add link to widget
-rw-r--r-- | app/assets/stylesheets/widget.css | 4 | ||||
-rw-r--r-- | app/views/request/widget.html.erb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/widget.css b/app/assets/stylesheets/widget.css index c214492af..6d393dc4b 100644 --- a/app/assets/stylesheets/widget.css +++ b/app/assets/stylesheets/widget.css @@ -20,6 +20,10 @@ no { border: 1px solid red; } 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 %> |