Produced by Araxis Merge on 11/9/2018 12:16:38 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | RAMS-2.3.0.zip\RAMS-2.3.0\SitePages | AOLandingPage.html | Mon Jun 4 04:38:16 2018 UTC |
2 | RAMS-2.3.0.zip\RAMS-2.3.0\SitePages | AOLandingPage.html | Fri Nov 9 14:54:12 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 1186 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | <!-- | |
2 | E1.1.0 RAM Increment 1 Patch C ode | |
3 | January 20 15 | |
4 | Department of Vetera n's Affair s/Booz All en Hamilto n | |
5 | irb-applic ations-gen eral.html | |
6 | --> | |
7 | <!DOCTYPE html> | |
8 | <html lang ="en" xmln s:mso="urn :schemas-m icrosoft-c om:office: office" | |
9 | xmlns:ms dt="uuid:C 2F41010-65 B3-11d1-A2 9F-00AA00C 14882"> | |
10 | <head> | |
11 | <meta http -equiv="co ntent-type " content= "text/html ; charset= UTF-8"> | |
12 | <meta char set="utf-8 "> | |
13 | <meta http -equiv="X- UA-Compati ble" conte nt="IE=edg e"> | |
14 | <meta name ="descript ion" conte nt=""> | |
15 | <meta name ="author" content="V eterans Af fairs Rese arch Admin istrative Management System"> | |
16 | <meta http -equiv="Pr agma" cont ent="no-ca che"> | |
17 | <meta http -equiv="Ex pires" con tent="-1"> | |
18 | <!-- Note there is n o responsi ve meta ta g here --> | |
19 | <title>VA RAMS</titl e> | |
20 | <!-- Must go at top or documen t.ready wi ll not wor k. The res t should b e at botto m --> | |
21 | <script sr c="../Site Assets/js/ jquery.js" ></script> | |
22 | <link rel= "styleshee t" type="t ext/css" h ref="../Si teAssets/c ss/jquery. dataTables .css"> | |
23 | <script ty pe="text/j avascript" charset=" utf8" src= "../SiteAs sets/js/jq uery.dataT ables.js"> </script> | |
24 | <script ty pe="text/j avascript" charset=" utf8" src= "../SiteAs sets/js/ra ms-environ ment.js">< /script> | |
25 | <!-- Boots trap core CSS --> | |
26 | <link href ="../SiteA ssets/css/ bootstrap. min.css" r el="styles heet"> | |
27 | <!-- Custo m styles f or this te mplate --> | |
28 | <link href ="../SiteA ssets/css/ styles.css " rel="sty lesheet"> | |
29 | <link href ="../SiteA ssets/css/ datepicker .css" rel= "styleshee t"> | |
30 | <!-- Just for debugg ing purpos es. Don't actually c opy these 2 lines! - -> | |
31 | <!--[if lt IE 9]><sc ript src=" ../../asse ts/js/ie8- responsive -file-warn ing.js"></ script><![ endif]--> | |
32 | <script sr c="../Site Assets/js/ ie-emulati on-modes-w arning.js" ></script> | |
33 | <script ty pe="text/j avascript" charset=" utf8" src= "../SiteAs sets/js/js hashtable- 3.0.js"></ script> | |
34 | <script ty pe="text/j avascript" charset=" utf8" src= "../SiteAs sets/js/js hashset-3. 0.js"></sc ript> | |
35 | <script ty pe="text/j avascript" charset=" utf8" src= "../SiteAs sets/js/fa cilityInfo .js"></scr ipt> | |
36 | <!-- HTML5 shim and Respond.js IE8 suppo rt of HTML 5 elements and media queries - -> | |
37 | <!--[if lt IE 9]> | |
38 | <scr ipt src=". ./SiteAsse ts/js/html 5shiv.min. js"></scri pt> | |
39 | <scr ipt src=". ./SiteAsse ts/js/resp ond.min.js "></script > | |
40 | <![end if]--> | |
41 | <!--[if gt e mso 9]>< xml> | |
42 | <mso:Custo mDocumentP roperties> | |
43 | <mso:ItemR etentionFo rmula msdt :dt="strin g"></mso:I temRetenti onFormula> | |
44 | <mso:_dlc_ policyId m sdt:dt="st ring"></ms o:_dlc_pol icyId> | |
45 | <mso:TaxKe ywordTaxHT Field msdt :dt="strin g"></mso:T axKeywordT axHTField> | |
46 | <mso:TaxKe yword msdt :dt="strin g"></mso:T axKeyword> | |
47 | <mso:Targe t_x0020_Au diences ms dt:dt="str ing"></mso :Target_x0 020_Audien ces> | |
48 | <mso:TaxCa tchAll msd t:dt="stri ng"></mso: TaxCatchAl l> | |
49 | </mso:Cust omDocument Properties > | |
50 | </xml><![e ndif]--> | |
51 | </head> | |
52 | <body> | |
53 | <a href= "#MainCont ent" class ="sr-only" >Skip to m ain conten t </a> | |
54 | <!-- Ski p to main content -- > | |
55 | <!-- Fix ed navbar --> | |
56 | <div cla ss="navbar navbar-de fault navb ar-static- top" role= "navigatio n"> | |
57 | <div c lass="cont ainer"> | |
58 | <div class="na vbar-heade r"> | |
59 | <h 1 title="D epartment of Veteran s Affairs Seal.Veter ans Affair s Research Administr ative Mana gement Sys tem"> | |
60 | <a class=" navbar-bra nd" href=" #">Departm ent of Vet erans Affa irs Seal.V eterans Af fairs Rese arch | |
61 | Administ rative Man agement Sy stem</a> | |
62 | </ h1> | |
63 | </di v> | |
64 | <div class="na vbar-colla pse collap se"> | |
65 | <u l class="n av navbar- nav navbar -right mai n-nav"> | |
66 | <li><a tit le="Home" href="/sit es/IRBAppl ications/S itePages/H ome.aspx"> Home</a></ li> | |
67 | <li class= "active">< a title="R esearch St udy Applic ations" | |
68 | href="/s ites/IRBAp plications /SitePages /irb%20app lications. aspx">Rese arch Study Applicati on</a></li > | |
69 | <li><a id= "investiga torActivit ies" title ="Investig ator Activ ities" | |
70 | href=".. /SiteAsset s/committe e_redirect .html?comm itteeActio n=investig atorActivi ties">Inve stigator | |
71 | Activi ties</a></ li> | |
72 | <li><a tit le="Commit tee Activi ties" | |
73 | href=".. /SiteAsset s/committe e_redirect .html?comm itteeActio n=committe eActivitie s">Committ ee Activit ies</a></l i> | |
74 | <li><a id= "profile" title="Per sonal Prof ile" href= "">Persona l Profile< /a></li> | |
75 | </ ul> | |
76 | </di v> | |
77 | <!-- /.nav-coll apse --> | |
78 | </div> | |
79 | </div> | |
80 | <!-- /.n avbar-stat ic-top --> | |
81 | <div cla ss="contai ner" id="M ainContent "> | |
82 | <div c lass="row" > | |
83 | <div class="co l-xs-12"> | |
84 | <h 1 id="page Header" cl ass="text- center"></ h1> | |
85 | </di v> | |
86 | </div> | |
87 | <div c lass="row" > | |
88 | <div class="co l-xs-6"></ div> | |
89 | </div> | |
90 | <div c lass="row" > | |
91 | <div class="co l-xs-6"> | |
92 | <h 2 id="appo intmentsHe ader" clas s="text-ce nter"></h2 > | |
93 | <d iv style=" display: i nline"> | |
94 | <br /> | |
95 | <div style ="display: inline"> | |
96 | <a id="m anageAppoi ntmentsLin k">manage appointmen ts</a> | |
97 | <table i d="appoint mentsListT able" clas s="display "> | |
98 | <capti on class=" hidden">Ap pointments List Tabl e</caption > | |
99 | <thead > | |
100 | <tr> | |
101 | <t h>Title</t h> | |
102 | <t h>Person</ th> | |
103 | <t h>Person T ype</th> | |
104 | <t h>Date Exp ires</th> | |
105 | </tr > | |
106 | </thea d> | |
107 | <tbody > | |
108 | </tbod y> | |
109 | </table> | |
110 | </div> | |
111 | </ div> | |
112 | </di v> | |
113 | <div class="co l-xs-6"> | |
114 | <h 2>Links</h 2> | |
115 | <u l id="link s"> | |
116 | <li><a hre f="/sites/ IRBApplica tions/List s/Applicat ion/Tissue Bank.aspx" >Track tis sue bank l ocation</a ></li> | |
117 | <li><a id ="coiLink" >Track COI disclosur e</a></li> | |
118 | <li><a id ="adminLin k" href="" >Administr ative Rese arch | |
119 | Data</ a></li> | |
120 | <li><a id= "fwamouLin k">FWAMOU< /a></li> | |
121 | <li><a id= "agreement sLink">Dat a Sharing/ Repository </a></li> | |
122 | <li><a hre f="/sites/ IRBApplica tions/List s/TMS/AllI tems.aspx" >TMS Data view</a></ li> | |
123 | <li><a hre f="#" oncl ick="displ ayFacility TrainingRe port(); re turn false ;" id="fac ilityTrain ingLink">F acility Tr aining rep ort</a></l i> | |
124 | </ ul> | |
125 | </di v> | |
126 | </div> | |
127 | <div c lass="row" > | |
128 | <div class="co l-xs-6"> | |
129 | <h 2 id="prop ertyHeader " class="t ext-center "></h2> | |
130 | <d iv style=" display: i nline"> | |
131 | <br /> | |
132 | <div style ="display: inline"> | |
133 | <a id="m anagePrope rtyLink">m anage prop erty</a> | |
134 | <table i d="propert yListTable " class="d isplay"> | |
135 | <capti on class=" hidden">Pr operty Lis t Table</c aption> | |
136 | <thead > | |
137 | <tr> | |
138 | <t h>Title</t h> | |
139 | <t h>Personne l Assigned </th> | |
140 | <t h>Assigned Equipment </th> | |
141 | <t h>Key Issu ed</th> | |
142 | <t h>Badge Is sued</th> | |
143 | </tr > | |
144 | </thea d> | |
145 | <tbody > | |
146 | </tbod y> | |
147 | </table> | |
148 | </div> | |
149 | </ div> | |
150 | </di v> | |
151 | <div class="co l-xs-6"> | |
152 | <h 2 id="labs Header" cl ass="text- center"></ h2> | |
153 | <d iv style=" display: i nline"> | |
154 | <br /> | |
155 | <div style ="display: inline"> | |
156 | <a id="m anageLabsL ink">manag e labs</a> | |
157 | <table i d="labsLis tTable" cl ass="displ ay"> | |
158 | <capti on class=" hidden">La bs List Ta ble</capti on> | |
159 | <thead > | |
160 | <tr> | |
161 | <t h>Lab ID</ th> | |
162 | <t h>Study Ti tle</th> | |
163 | <t h>Personne l assigned </th> | |
164 | </tr > | |
165 | </thea d> | |
166 | <tbody > | |
167 | </tbod y> | |
168 | </table> | |
169 | </div> | |
170 | </ div> | |
171 | </di v> | |
172 | </div> | |
173 | </div> | |
174 | <script type="text /javascrip t"> | |
175 | v ar hostnam e = window .location. hostname; | |
176 | v ar facilit yName = ge tParamValu e('facilit yName'); | |
177 | v ar facilit yTitle = g etParamVal ue('facili tyTitle'); | |
178 | f acilityTit le = facil ityTitle.r eplace(/%2 0/g, ' '); | |
179 | f acilityTit le = facil ityTitle.r eplace(/_/ g, ' '); | |
180 | v ar groupPa rt = getPa ramValue(' groupPart' ); | |
181 | g roupPart = groupPart .replace(/ %20/g, " " ); | |
182 | g roupPart = groupPart .replace(/ _/g, ' '); | |
183 | v ar committ eeName = g etParamVal ue('commit teeName'); | |
184 | v ar siteUri = "/sites /IRBApplic ations/" + facilityN ame; | |
185 | v ar siteCom mittee = f acilityTit le + " " + committee Name; | |
186 | v ar pageTit le = facil ityTitle + " AO Page " | |
187 | v ar pageHea der = "Wel come to th e " + faci lityTitle + " AO Pag e"; | |
188 | v ar appoint mentsList = new Arra y(); | |
189 | v ar propert yList = ne w Array(); | |
190 | v ar agreeme ntsList = new Array( ); | |
191 | v ar labsLis t = new Ar ray(); | |
192 | ||
193 | / /Instructi ons | |
194 | / /get the l ist librar y name and replace t he holders in the an chor href and the RE ST API Uri | |
195 | / /change th e siteUri and restUr i | |
196 | ||
197 | / /var restU ri="/_api/ web/lists/ getbytitle ('" + "App ointments' )/items$se lect=Perso n/Id,Perso n/Title,*& $expand=Pe rson"; | |
198 | ||
199 | v ar appoint mentsRestU ri = "/_ap i/web/list s/getbytit le('Appoin tments')/i tems?$sele ct=Person/ Id,Person/ Title,VA_x 0020_Spons er/Id,VA_x 0020_Spons er/Title,* &$expand=P erson,VA_x 0020_Spons er"; | |
200 | v ar appoint mentsUri = siteUri + appointme ntsRestUri ; | |
201 | ||
202 | v ar propert yRestUri = "/_api/we b/lists/ge tbytitle(' Property') /items?$se lect=Perso nal_x0020_ assigned/I d, Persona l_x0020_as signed/Tit le,*&$expa nd=Persona l_x0020_as signed"; | |
203 | v ar propert yUri = sit eUri + pro pertyRestU ri; | |
204 | ||
205 | v ar labsRes tUri = "/_ api/web/li sts/getbyt itle('Labs ')/items?$ select=Per sonnelassi gned/Id, P ersonnelas signed/Tit le,*&$expa nd=Personn elassigned "; | |
206 | v ar labsUri = siteUri + labsRes tUri; | |
207 | ||
208 | v ar appoint mentsHeade r = "<a hr ef=\"/site s/IRBAppli cations/" + facility Name + "/L ists/Appoi ntments" + "\">" | |
209 | + "Ap pointments " + "</a>" ; | |
210 | v ar propert yHeader = "<a href=\ "/sites/IR BApplicati ons/" + fa cilityName + "/Lists /Property" + "\">" | |
211 | + "Pr operty" + "</a>"; | |
212 | v ar agreeme ntsLink = "/sites/IR BApplicati ons/" + fa cilityName + "/Lists /DataShari ngReposito ryAgreemen ts/Agreeme ntsView.as px"; | |
213 | v ar labsHea der = "<a href=\"/si tes/IRBApp lications/ " + facili tyName + " /Lists/Lab s" + "\">" + "Labs" + "</a>"; | |
214 | ||
215 | v ar appoint mentsLink = "/sites/ IRBApplica tions/" + facilityNa me + "/Lis ts/Appoint ments"; | |
216 | v ar propert yLink = "/ sites/IRBA pplication s/" + faci lityName + "/Lists/P roperty"; | |
217 | v ar labsLin k = "/site s/IRBAppli cations/" + facility Name + "/L ists/Labs" ; | |
218 | v ar animalF acilityDoc umentsLink = "/sites /IRBApplic ations/" + facilityN ame + "/AF Documents" ; | |
219 | v ar coiLink = "/sites /IRBApplic ations/Lis ts/Applica tion/COIDi sclosure.a spx?Filter Field1=Fac ilitiesLoo kup&Filter Value1=" + facilityT itle; | |
220 | ||
221 | ||
222 | $ ('#appoint mentsHeade r').append (appointme ntsHeader) ; | |
223 | $ ('#propert yHeader'). append(pro pertyHeade r); | |
224 | $ ('#labsHea der').appe nd(labsHea der); | |
225 | ||
226 | $ ("#manageA ppointment sLink").at tr("href", appointme ntsLink); | |
227 | $ ("#manageP ropertyLin k").attr(" href", pro pertyLink) ; | |
228 | $ ("#manageL absLink"). attr("href ", labsLin k); | |
229 | $ ("#agreeme ntsLink"). attr("href ", agreeme ntsLink); | |
230 | $ ("#coiLink ").attr("h ref", coiL ink); | |
231 | ||
232 | / / add the list item fields tha t should b e displaye d to the o nSuccess m ethod, for loop, res ults varia ble - add as many si te columns as needed | |
233 | / / and adju st the num ber of col umns in th e textarea box accor dingly | |
234 | ||
235 | $ (document) .ready( | |
236 | funct ion() { | |
237 | $( "#RAMSCopy right").ap pend(RAMSC opyright); | |
238 | Ge tAppointme ntsListIte ms(); | |
239 | Ge tPropertyL istItems() ; | |
240 | Ge tLabsListI tems(); | |
241 | $( '#pageHead er').appen d(pageHead er); | |
242 | va r fwaMouLi nk = "/sit es/IRBAppl ications/L ists/" + " FWAMOU/" | |
243 | + "Sta ndardView. aspx?Filte rField1=So urceSiteNa me&FilterV alue1=" + facilityTi tle; | |
244 | $( "#fwamouLi nk").attr( "href", fw aMouLink); | |
245 | ||
246 | // TODO Secur e Links | |
247 | va r animalFa cilityList Item = $(" <li><a hre f='" + ani malFacilit yDocuments Link + "'> " | |
248 | + "Ani mal Facili ty Documen ts" + "</a ></li>"); | |
249 | $( "#links"). append(ani malFacilit yListItem) ; | |
250 | va r adminLin k = "/site s/IRBAppli cations/Li sts/Applic ation/Admi nistrative .aspx?Filt erField1=F acilitiesL ookup&Filt erValue1=" | |
251 | + facilit yTitle; | |
252 | $( "#adminLin k").attr(" href", adm inLink); | |
253 | ||
254 | }); | |
255 | ||
256 | f unction ge tParamValu e(param) { | |
257 | var urlP aramString = locatio n.search.s plit(param + "="); | |
258 | if (urlP aramString .length <= 1) | |
259 | retur n ""; | |
260 | else { | |
261 | var t mp = urlPa ramString[ 1].split(" &"); | |
262 | ||
263 | retur n tmp[0]; | |
264 | } | |
265 | ||
266 | } | |
267 | ||
268 | f unction Ge tAppointme ntsListIte ms() { | |
269 | ||
270 | $.ajax({ | |
271 | ||
272 | url : appointme ntsUri, | |
273 | ||
274 | type : "GET", | |
275 | ||
276 | heade rs : { | |
277 | ||
278 | "a ccept" : " applicatio n/json;oda ta=verbose ", | |
279 | ||
280 | "c ontent-typ e" : "appl ication/js on;odata=v erbose", | |
281 | ||
282 | "X -RequestDi gest" : $( "#_REQUEST DIGEST").v al() | |
283 | ||
284 | }, | |
285 | ||
286 | succe ss : onSuc cessGetApp ointmentsL istItems, | |
287 | ||
288 | error : onError | |
289 | ||
290 | }); | |
291 | ||
292 | } | |
293 | ||
294 | f unction on SuccessGet Appointmen tsListItem s(data) { | |
295 | data = g etFixedStr ing(data); | |
296 | var item s = data.d .results; | |
297 | for (var i = 0; i < items.le ngth; i++) { | |
298 | var I D = items[ i].ID; | |
299 | var T itle = ite ms[i].Titl e; | |
300 | var T itleLink = "<a href= '" + "/sit es/IRBAppl ications/" + facilit yName | |
301 | + "/Lists /Appointme nts/DispFo rm.aspx?ID =" + ID + "'>" + Tit le + "</a> " | |
302 | var P erson = it ems[i].Per son; | |
303 | var P ersonType = items[i] .Person_x0 020_Type; | |
304 | var V ASponser = items[i]. VA_x0020_S ponser; | |
305 | var D ateApprove d = items[ i].Date_x0 020_Appoin ted; | |
306 | var D ateExpires = items[i ].Date_x00 20_Expires ; | |
307 | var m odifiedDat e = new Da te(DateExp ires); | |
308 | var t ime = new Date(modif iedDate); | |
309 | time = time.toL ocaleStrin g('en-US', { | |
310 | ho ur : 'nume ric', | |
311 | mi nute : 'nu meric', | |
312 | ho ur12 : tru e | |
313 | }); | |
314 | var f ormattedMo difiedDate String = m odifiedDat e.getMonth () + 1 + " /" + modif iedDate.ge tDate() + "/" | |
315 | + modifie dDate.getF ullYear() + " " + ti me; | |
316 | ||
317 | var P ersonName = ""; | |
318 | var P ersonID = ""; | |
319 | ||
320 | if (P erson != n ull) { | |
321 | Pe rsonName = Person.Ti tle; | |
322 | if (PersonNa me == unde fined) { | |
323 | PersonNam e = ""; | |
324 | } | |
325 | Pe rsonID = P erson.Id; | |
326 | } | |
327 | ||
328 | var P ersonLink = "<a href =\"/sites/ IRBApplica tions/_lay outs/15/us erdisp.asp x?ID=" + P ersonID + "\">" | |
329 | + PersonN ame + "</a >" | |
330 | ||
331 | var n ewAppointm ent = new Appointmen tItem(Titl eLink, Per sonLink, P ersonType, formatted ModifiedDa teString); | |
332 | appoi ntmentsLis t.push(new Appointmen t); | |
333 | } | |
334 | ||
335 | $('#appo intmentsLi stTable'). DataTable( { | |
336 | ||
337 | data : appointm entsList, | |
338 | ||
339 | colum ns : [ | |
340 | { | |
341 | data : 'Title' | |
342 | }, { | |
343 | data : 'Person' | |
344 | }, { | |
345 | data : 'PersonTy pe' | |
346 | }, { | |
347 | data : 'DateExpi res' | |
348 | } | |
349 | ||
350 | ] | |
351 | ||
352 | }); | |
353 | ||
354 | } | |
355 | f unction on Error(erro r) { | |
356 | ||
357 | alert(JS ON.stringi fy(error)) ; | |
358 | ||
359 | } | |
360 | ||
361 | f unction Ap pointmentI tem(Title, Person, P ersonType, DateExpir es) { | |
362 | this.Tit le = Title ; | |
363 | this.Per son = Pers on; | |
364 | this.Per sonType = PersonType ; | |
365 | this.Dat eExpires = DateExpir es; | |
366 | ||
367 | } | |
368 | ||
369 | f unction Ge tPropertyL istItems() { | |
370 | ||
371 | $.ajax({ | |
372 | ||
373 | url : propertyU ri, | |
374 | ||
375 | type : "GET", | |
376 | ||
377 | heade rs : { | |
378 | ||
379 | "a ccept" : " applicatio n/json;oda ta=verbose ", | |
380 | ||
381 | "c ontent-typ e" : "appl ication/js on;odata=v erbose", | |
382 | ||
383 | "X -RequestDi gest" : $( "#_REQUEST DIGEST").v al() | |
384 | ||
385 | }, | |
386 | ||
387 | succe ss : onSuc cessGetPro pertyListI tems, | |
388 | ||
389 | error : onError | |
390 | ||
391 | }); | |
392 | ||
393 | } | |
394 | ||
395 | f unction on SuccessGet PropertyLi stItems(da ta) { | |
396 | data = g etFixedStr ing(data); | |
397 | var item s = data.d .results; | |
398 | ||
399 | for (var i = 0; i < items.le ngth; i++) { | |
400 | var I D = items[ i].ID; | |
401 | var T itle = ite ms[i].Titl e; | |
402 | var T itleLink = "<a href= '" + "/sit es/IRBAppl ications/" + facilit yName | |
403 | + "/Lists /Property/ DispForm.a spx?ID=" + ID + "'>" + Title + "</a>" | |
404 | var P ersonnelAs signed = i tems[i].Pe rsonal_x00 20_assigne d; | |
405 | ||
406 | var P ersonnelAs signedName = ""; | |
407 | var P ersonnelAs signedID = ""; | |
408 | ||
409 | if (P ersonnelAs signed != null) { | |
410 | Pe rsonnelAss ignedName = Personne lAssigned. Title; | |
411 | if (Personne lAssignedN ame == und efined) { | |
412 | Personnel AssignedNa me = ""; | |
413 | } | |
414 | Pe rsonnelAss ignedID = PersonnelA ssigned.Id ; | |
415 | } | |
416 | ||
417 | var P ersonnelAs signedLink = "<a hre f=\"/sites /IRBApplic ations/_la youts/15/u serdisp.as px?ID=" | |
418 | + Personn elAssigned ID + "\">" + Personn elAssigned Name + "</ a>" | |
419 | ||
420 | var A ssignedEqu ipment = i tems[i].As signed_x00 20_Equipem ent_x0028_ ; | |
421 | var K eyIssued = items[i]. Key_x0020_ Issued; | |
422 | var B adgeIssued = items[i ].Badge_x0 020_Issued ; | |
423 | var n ewProperty = new Pro pertyItem( TitleLink, Personnel AssignedLi nk, Assign edEquipmen t, KeyIssu ed, | |
424 | BadgeIssu ed); | |
425 | prope rtyList.pu sh(newProp erty); | |
426 | ||
427 | } | |
428 | ||
429 | $('#prop ertyListTa ble').Data Table({ | |
430 | ||
431 | data : property List, | |
432 | ||
433 | colum ns : [ | |
434 | { | |
435 | data : 'Title' | |
436 | }, { | |
437 | data : 'Personne lAssigned' | |
438 | }, { | |
439 | data : 'Assigned Equipment' | |
440 | }, { | |
441 | data : 'KeyIssue d' | |
442 | }, { | |
443 | data : 'BadgeIss ued' | |
444 | } | |
445 | ||
446 | ] | |
447 | ||
448 | }); | |
449 | ||
450 | } | |
451 | ||
452 | f unction Pr opertyItem (Title, Pe rsonnelAss igned, Ass ignedEquip ment, KeyI ssued, Bad geIssued) { | |
453 | this.Tit le = Title ; | |
454 | this.Per sonnelAssi gned = Per sonnelAssi gned; | |
455 | this.Ass ignedEquip ment = Ass ignedEquip ment; | |
456 | this.Key Issued = K eyIssued; | |
457 | this.Bad geIssued = BadgeIssu ed; | |
458 | } | |
459 | ||
460 | f unction Ge tLabsListI tems() { | |
461 | ||
462 | $.ajax({ | |
463 | ||
464 | url : labsUri, | |
465 | ||
466 | type : "GET", | |
467 | ||
468 | heade rs : { | |
469 | ||
470 | "a ccept" : " applicatio n/json;oda ta=verbose ", | |
471 | ||
472 | "c ontent-typ e" : "appl ication/js on;odata=v erbose", | |
473 | ||
474 | "X -RequestDi gest" : $( "#_REQUEST DIGEST").v al() | |
475 | ||
476 | }, | |
477 | ||
478 | succe ss : onSuc cessGetLab sListItems , | |
479 | ||
480 | error : onError | |
481 | ||
482 | }); | |
483 | ||
484 | } | |
485 | ||
486 | f unction on SuccessGet LabsListIt ems(data) { | |
487 | data = g etFixedStr ing(data); | |
488 | var item s = data.d .results; | |
489 | ||
490 | for (var i = 0; i < items.le ngth; i++) { | |
491 | var I D = items[ i].ID; | |
492 | var L abID = ite ms[i].LabI D; | |
493 | var S tudyTitle = items[i] .StudyTitl e; | |
494 | var P ersonnelAs signed = i tems[i].Pe rsonnelAss igned; | |
495 | ||
496 | var P ersonnelAs signedName = ""; | |
497 | var P ersonnelAs signedID = ""; | |
498 | ||
499 | if (P ersonnelAs signed != null) { | |
500 | Pe rsonnelAss ignedName = Personne lAssigned. Title; | |
501 | if (Personne lAssignedN ame == und efined) { | |
502 | Personnel AssignedNa me = ""; | |
503 | } | |
504 | Pe rsonnelAss ignedID = PersonnelA ssigned.Id ; | |
505 | } | |
506 | ||
507 | var P ersonnelLi nk = "<a h ref=\"/sit es/IRBAppl ications/_ layouts/15 /userdisp. aspx?ID=" | |
508 | + Personn elAssigned ID + "\">" + Personn elAssigned Name + "</ a>" | |
509 | ||
510 | var n ewLab = ne w LabItem( LabID, Stu dyTitle, P ersonnelLi nk); | |
511 | labsL ist.push(n ewLab); | |
512 | ||
513 | } | |
514 | ||
515 | $('#labs ListTable' ).DataTabl e({ | |
516 | ||
517 | data : labsList , | |
518 | ||
519 | colum ns : [ | |
520 | { | |
521 | data : 'LabID' | |
522 | }, { | |
523 | data : 'StudyTit le' | |
524 | }, { | |
525 | data : 'Personne lAssigned' | |
526 | } | |
527 | ||
528 | ] | |
529 | ||
530 | }); | |
531 | ||
532 | } | |
533 | ||
534 | f unction La bItem(LabI D, StudyTi tle, Perso nnelAssign ed) { | |
535 | this.Lab ID = LabID ; | |
536 | this.Stu dyTitle = StudyTitle ; | |
537 | this.Per sonnelAssi gned = Per sonnelAssi gned; | |
538 | } | |
539 | ||
540 | / ** | |
541 | * Displays TMS facil ity traini ng report in new tab . | |
542 | * | |
543 | */ | |
544 | fu nction dis playFacili tyTraining Report() { | |
545 | ||
546 | //var tr ainingRepo rtLink = protocol + reportsSe rverName + "/ReportS erver/Page s/" + "Rep ortViewer. aspx?%2fRA MS+Reports %2fTrainin gReport&li stOfIds="; | |
547 | var trai ningReport Link = dyn amicTraini ngReportUR L; | |
548 | var idSt rArray =[] ; | |
549 | if (type of ficObj === "undef ined") { | |
550 | var f icObj = ne w Facility InfoCollec tion(); | |
551 | } | |
552 | ficObj.g et(facilit yName, fun ction(locf iObj) { | |
553 | var f iUsers = l ocfiObj.ge tUsers(); | |
554 | for ( var key in fiUsers) { | |
555 | if ( fiUsers.ha sOwnProper ty(key)) | |
556 | i dStrArray. push(fiUse rs[key].Id ); | |
557 | } | |
558 | }); | |
559 | training ReportLink +=idStrArr ay.join(); | |
560 | training ReportLink +="&Report For="+faci lityName; | |
561 | window.o pen(traini ngReportLi nk,"_blank "); | |
562 | } | |
563 | </sc ript> | |
564 | <div cla ss="footer "> | |
565 | <div c lass="cont ainer"> | |
566 | <ul class="foo ter-nav"> | |
567 | <l i><a title ="About" h ref="/site s/IRBAppli cations/Si tePages/Ab out.aspx"> About</a>< /li> | |
568 | <l i><a title ="Training " href="/s ites/IRBAp plications /SitePages /RAMS%20On line%20Hel p.aspx">Tr aining</a> </li> | |
569 | <l i><a title ="Help" hr ef="/sites /IRBApplic ations/Sit ePages/RAM S%20Online %20Help.as px">Help</ a></li> | |
570 | <l i><a title ="FAQs" hr ef="/sites /IRBApplic ations/Sit ePages/FAQ .aspx">FAQ s</a></li> | |
571 | <l i><a title ="Contact Us" href=" /sites/IRB Applicatio ns/SitePag es/Contact %20Us.aspx ">Contact Us</a></li > | |
572 | <l i><a title ="Site Map " href="/s ites/IRBAp plications /SitePages /Site%20Ma p.aspx">Si te Map</a> </li> | |
573 | <l i><a title ="Disclaim er" href=" /sites/IRB Applicatio ns/SitePag es/Disclai mer.aspx"> Disclaimer </a></li> | |
574 | <l i><a title ="Privacy/ Accessibil ity" href= "/sites/IR BApplicati ons/SitePa ges/Access ibility.as px">Privac y | |
575 | / Access ibility</a ></li> | |
576 | <l i><a oncli ck="displa yVersion() ;return fa lse;" titl e="Version " href="#" >Version</ a></li> | |
577 | <l i><a title ="Descript ion" href= "/sites/IR BApplicati ons/SitePa ges/Descri ption.aspx ">Descript ion</a></l i> | |
578 | <li><a tit le="VA Hom e" href="h ttp:// DNS . URL ">VA Home< /a></li> | |
579 | </ul > | |
580 | <p i d="RAMSCop yright" cl ass="pull- right stro ng"></p> | |
581 | </div> | |
582 | </div> | |
583 | <!-- Boo tstrap cor e JavaScri pt | |
584 | ======= ========== ========== ========== ========== === --> | |
585 | <!-- Pla ced at the end of th e document so the pa ges load f aster --> | |
586 | <script src="../Si teAssets/j s/bootstra p.min.js"> </script> | |
587 | <script src="../Si teAssets/j s/tooltip. js"></scri pt> | |
588 | <!-- IE1 0 viewport hack for Surface/de sktop Wind ows 8 bug --> | |
589 | <script src="../Si teAssets/j s/ie10-vie wport-bug- workaround .js"></scr ipt> | |
590 | <script> | |
591 | d ocument.ge tElementBy Id("profil e").href = mySitesSe rverName; | |
592 | </sc ript> | |
593 | </body> | |
594 | </html> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.