-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from fga-gpp-mds/dev_misses_pt2
Dev misses pt2
- Loading branch information
Showing
10 changed files
with
269 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<% if (@current_user.is_a?(Employee)) %> | ||
<%= link_to '<span class="fa fa-user-times"></span> Adicionar uma nova falta'.html_safe, new_alumn_school_miss_path(@alumn), class:"btn btn-success btn-sm" %> | ||
<% end %> | ||
<ul> | ||
<br> | ||
<% @alumn.school_misses.all.reverse.each do |miss| %> | ||
<% if (@current_user.is_a?(Principal)) %> | ||
<!-- <br> --> | ||
<li class="text-danger inline"> | ||
<%= miss.date.day %>/<%= miss.date.month %>/<%= miss.date.year %> | ||
</li> | ||
<%= link_to '<span class="fa fa-edit"></span> Editar'.html_safe, edit_alumn_school_miss_path(@alumn, miss), class:"btn btn-xs btn-shades" %> | ||
<%= link_to '<span class="fa fa-times"></span> Deletar'.html_safe, [@alumn, miss], :method => :delete, class:"btn btn-xs btn-default" %> | ||
<% else %> | ||
<br> | ||
<li class="text-danger"><%= miss.date.day %>/<%= miss.date.month %>/<%= miss.date.year %></li> | ||
<% end %> | ||
<% end %> | ||
</ul> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"result": { | ||
"covered_percent": 93.36 | ||
"covered_percent": 93.38 | ||
} | ||
} |
Oops, something went wrong.