Comments (1)
It is not one single click but two:
diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml
index 9c2cf39..cee4d8c 100644
--- a/app/views/call_histories/_index_core.html.haml
+++ b/app/views/call_histories/_index_core.html.haml
@@ -9,6 +9,8 @@
%th{:width => '10px'}
= button_tag(:type => 'submit', :class => 'btn btn-mini btn-danger', :confirm => t("call_histories.index.actions.confirm_selected")) do
%i{:class => 'icon-trash icon-white'}
+ = button_tag(:type => 'button', :class => 'btn btn-mini btn-info', :id => 'check_all') do
+ %i{:class => 'icon-check icon-white'}
%th
=sortable :start_stamp, t("call_histories.index.date")
%th{:width => '10px'}
@@ -22,6 +24,8 @@
%tfoot
%tr
%td{:colspan => 2}
+ = button_tag(:type => 'button', :class => 'btn btn-mini btn-info', :id => 'uncheck_all') do
+ %i{:class => 'icon-check icon-white'}
= button_tag(:type => 'submit', :class => 'btn btn-mini btn-danger', :confirm => t("call_histories.index.actions.confirm_selected")) do
%i{:class => 'icon-trash icon-white'}
= t("call_histories.index.actions.destroy_multiple")
@@ -97,3 +101,6 @@
- if can? :destroy, call_history
= link_to raw("<i class = 'icon-trash icon-white'></i> ") + t('call_histories.index.actions.destroy'), [@sip_account, call_history], :method => :delete, :remote => true, :class =>
+ :javascript
+ $('#check_all').on("click", function(){ $('input[type="checkbox"]').click(); });
+ $('#uncheck_all').on("click", function(){ $('input[type="checkbox"]').click(); });
from gs5.
Related Issues (20)
- tenant phones have no address books HOT 5
- Error message "We're sorry, but something went wrong." beim Hochladen eines Avatar Bildes
- Backup is still running HOT 1
- SIPGATE Team / Outboundproxy wird nicht verwendet
- uninitialized constant CacheDigests (NameError) HOT 1
- intruders einträge lassen sich nicht löschen
- Startseite :: IP/gs ???? :: Einstiegs-URL - Adminpanel HOT 4
- Changing AuthName and Password of a user account throws error
- Eintrag in "Liste aller Gateways" kann nicht gelöscht werden
- Rufweiterschaltung mittels Feature-Code funktioniert nicht
- Failover to next gateway in time
- Rufgruppe mit Teilnehmer erzeugt nil value error HOT 1
- Feature request: List all users and their associated phone numbers
- Create Software Fax
- Documentation Issue Regarding To Sipgate HOT 2
- Beaglebone Black
- Could not Delet Intruder Blacklist HOT 1
- GS 5.2-beta4-develop: Datenbankschema unvollständig
- Conference Invitees mit mehr als einer Telefonnummer können "not_public" Konferenzen nicht betreten
- Raspberry Pi image of GS5 not working..
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gs5.