Skip to content

Commit

Permalink
Add tooltips to the icons shown by the 'Check date availability'
Browse files Browse the repository at this point in the history
  • Loading branch information
pypingou committed Jan 15, 2014
1 parent 7f7b063 commit 60e3159
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions fedocal/templates/default/add_meeting.html
Expand Up @@ -135,10 +135,12 @@ <h4>Reminder</h4>
success: function(res) {
if (res['Date available']) {
$('span#res').html(
'<img src="{{ url_for("static", filename="Approved.png") }}" />');
'<img src="{{ url_for("static", filename="Approved.png") }}"'
+ ' title="Time slot available" />');
} else {
$('span#res').html(
'<img src="{{ url_for("static", filename="Denied.png") }}" />');
'<img src="{{ url_for("static", filename="Denied.png") }}"'
+ ' title="Time slot not available" />');
}
},
error: function(res) {
Expand Down
6 changes: 4 additions & 2 deletions fedocal/templates/default/edit_meeting.html
Expand Up @@ -145,10 +145,12 @@ <h4>Reminder</h4>
success: function(res) {
if (res['Date available']) {
$('span#res').html(
'<img src="{{ url_for("static", filename="Approved.png") }}" />');
'<img src="{{ url_for("static", filename="Approved.png") }}"'
+ ' title="Time slot available" />');
} else {
$('span#res').html(
'<img src="{{ url_for("static", filename="Denied.png") }}" />');
'<img src="{{ url_for("static", filename="Denied.png") }}"'
+ ' title="Time slot not available" />');
}
},
error: function() {
Expand Down

0 comments on commit 60e3159

Please sign in to comment.