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 | AnimalFacilityManager.html | Fri May 4 15:04:20 2018 UTC |
2 | RAMS-2.3.0.zip\RAMS-2.3.0\SitePages | AnimalFacilityManager.html | Fri Nov 9 14:54:12 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 778 |
Changed | 2 | 4 |
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" type="tex t/javascri pt"></scri pt> | |
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" src="../S iteAssets/ js/Microso ftAjax.js" ></script> | |
25 | <script ty pe="text/j avascript" src="../S iteAssets/ js/rams-en vironment. js"></scri pt> | |
26 | <script ty pe="text/j avascript" src="/sit es/IRBAppl ications/_ layouts/15 /sp.runtim e.js"></sc ript> | |
27 | <script ty pe="text/j avascript" src="/sit es/IRBAppl ications/_ layouts/15 /sp.js"></ script> | |
28 | <!-- Boots trap core CSS --> | |
29 | <link href ="../SiteA ssets/css/ bootstrap. min.css" r el="styles heet"> | |
30 | <!-- Custo m styles f or this te mplate --> | |
31 | <link href ="../SiteA ssets/css/ styles.css " rel="sty lesheet"> | |
32 | <link href ="../SiteA ssets/css/ datepicker .css" rel= "styleshee t"> | |
33 | <!-- Just for debugg ing purpos es. Don't actually c opy these 2 lines! - -> | |
34 | <!--[if lt IE 9]><sc ript src=" ../../asse ts/js/ie8- responsive -file-warn ing.js"></ script><![ endif]--> | |
35 | <script sr c="../Site Assets/js/ ie-emulati on-modes-w arning.js" type="tex t/javascri pt"></scri pt> | |
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 | <b r> <br> | |
86 | </di v> | |
87 | </div> | |
88 | <div c lass="row" > | |
89 | <div class="co l-xs-6"> | |
90 | <p ></p> | |
91 | <h 2 id="afDo cumentsHea der" class ="text-cen ter"></h2> | |
92 | <d iv style=" display: i nline"> | |
93 | <br /> | |
94 | <div style ="display: inline"> | |
95 | <a id="a fDocuments Link">mana ge documen ts</a> | |
96 | <table i d="afDocum entsListTa ble" class ="display" > | |
97 | <capti on class=" hidden">An imal Facil ity Docume nts List T able</capt ion> | |
98 | <thead > | |
99 | <tr> | |
100 | <t h>Name</th > | |
101 | <t h>Modified </th> | |
102 | <t h>Modified By</th> | |
103 | </tr > | |
104 | </thea d> | |
105 | <tbody > | |
106 | </tbod y> | |
107 | </table> | |
108 | </div> | |
109 | </ div> | |
110 | </di v> | |
111 | </div> | |
112 | </div> | |
113 | <script type="text /javascrip t"> | |
114 | v ar hostnam e = window .location. hostname; | |
115 | v ar siteUrl = window. location.h ref; | |
116 | v ar facilit yName = ge tParamValu e('facilit yName'); | |
117 | v ar facilit yTitle = g etParamVal ue('facili tyTitle'); | |
118 | f acilityTit le = facil ityTitle.r eplace(/_/ g, ' '); | |
119 | f acilityTit le = facil ityTitle.r eplace(/%2 0/g, ' '); | |
120 | v ar committ eeName = g etParamVal ue('commit teeName'); | |
121 | v ar groupPa rt = getPa ramValue(' groupPart' ); | |
122 | g roupPart = groupPart .replace(/ _/g, ' '); | |
123 | g roupPart = groupPart .replace(/ %20/g, ' ' ); | |
124 | v ar pageTit le = facil ityTitle + " Animal Facility M anager" + " page"; | |
125 | v ar afDocum entsList = []; | |
126 | v ar monthNa mes = [ | |
127 | "Janu ary", "Feb ruary", "M arch", "Ap ril", "May ", "June", "July", " August", " September" , "October ", | |
128 | "Nove mber", "De cember" | |
129 | ] ; | |
130 | v ar documen tRequestUr i = ""; | |
131 | ||
132 | / / get the list libra ry name an d replace the holder s in the a nchor href and the R EST API Ur i | |
133 | / / change t he siteUri and restU ri | |
134 | // https:/ / DNS . URL /sites/IRB Applicatio ns/Miami/_ api/web/li sts/getbyt itle('RDC Calendar') /items(25) | |
135 | v ar siteUri = "/sites /IRBApplic ations/" + facilityN ame + "/"; | |
136 | v ar restUri = ""; | |
137 | ||
138 | v ar request Uri = site Uri + rest Uri; | |
139 | ||
140 | v ar isMembe r = false; | |
141 | / / 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 | |
142 | / / as many site colum ns as need ed | |
143 | / / and adju st the num ber of col umns in th e textarea box accor dingly | |
144 | v ar members hip; | |
145 | $ (document) | |
146 | .read y( | |
147 | function( ) { | |
148 | $("#RA MSCopyrigh t").append (RAMSCopyr ight); | |
149 | member ship = mem berCheck() ; | |
150 | ||
151 | docume ntRequestU ri = siteU ri + "_api /web/getfo lderbyserv errelative url('" | |
152 | + "AFDocum ents')/Fil es?$select =ModifiedB y/Id,Modif iedBy/Titl e,*&$expan d=Modified By"; | |
153 | ||
154 | var pa geHeader = ""; | |
155 | var af DocumentsH eader = "" ; | |
156 | ||
157 | afDocu mentsHeade r = "Anima l Facility Documents "; | |
158 | if ((m embership. LSAMember) || (membe rship.AFMM ember)) { | |
159 | afD ocumentsHe ader = "<a href=\"/s ites/IRBAp plications /" | |
160 | + facilityNa me | |
161 | + "/" | |
162 | + "AFDocumen ts" | |
163 | + "\">" | |
164 | + "Anim al Facilit y Document s" + "</a> "; | |
165 | } else { | |
166 | afD ocumentsHe ader = "An imal Facil ity Docume nts"; | |
167 | } | |
168 | pageHe ader = "We lcome to t he " + fac ilityTitle + " " + c ommitteeNa me | |
169 | + " Animal Facility Manager pa ge"; | |
170 | ||
171 | $('#pa geHeader') .append(pa geHeader); | |
172 | ||
173 | $(docu ment).prop ('title', pageTitle) ; | |
174 | ||
175 | var ad DocumentsL ink = "/si tes/IRBApp lications/ " + facili tyName + " /AFDocumen ts"; | |
176 | ||
177 | if ((m embership. AOMember) || (member ship.RDCMe mber) || ( membership .IACUCMemb er) | |
178 | || (member ship.LSAMe mber) || m embership. AFMMember) { | |
179 | Get DocumentLi stItems(); | |
180 | } | |
181 | ||
182 | $("#af DocumentsH eader").ap pend(afDoc umentsHead er); | |
183 | ||
184 | if ((m embership. LSAMember) || (membe rship.AFMM ember)) { | |
185 | $(" #afDocumen tsLink").a ttr("href" , adDocume ntsLink); | |
186 | } else { | |
187 | $(" #afDocumen tsLink").r emoveAttr( "href"); | |
188 | } | |
189 | ||
190 | }); | |
191 | ||
192 | f unction ge tParamValu e(param) { | |
193 | var urlP aramString = locatio n.search.s plit(param + "="); | |
194 | if (urlP aramString .length <= 1) { | |
195 | retur n ""; | |
196 | } else { | |
197 | var t mp = urlPa ramString[ 1].split(" &"); | |
198 | ||
199 | retur n tmp[0]; | |
200 | } | |
201 | ||
202 | } | |
203 | ||
204 | f unction Ge tDocumentL istItems() { | |
205 | $.ajax({ | |
206 | url : documentR equestUri, | |
207 | type : "GET", | |
208 | heade rs : { | |
209 | "a ccept" : " applicatio n/json;oda ta=verbose ", | |
210 | "c ontent-typ e" : "appl ication/js on;odata=v erbose", | |
211 | "X -RequestDi gest" : $( "#_REQUEST DIGEST").v al() | |
212 | }, | |
213 | succe ss : onSuc cessDocume ntListItem s, | |
214 | error : onError | |
215 | }); | |
216 | } | |
217 | ||
218 | f unction on SuccessDoc umentListI tems(data) { | |
219 | json = g etFixedStr ing(data); | |
220 | var item s = data.d .results; | |
221 | var name = ''; | |
222 | var name Location = ''; | |
223 | var name Link = ''; | |
224 | ||
225 | var modi fied = ''; | |
226 | var modi fiedBy = ' '; | |
227 | var modi fiedById = ''; | |
228 | var modi fiedByLink = ''; | |
229 | ||
230 | for (var i = 0; i < items.le ngth; i++) { | |
231 | name = String(i tems[i].Na me); | |
232 | ||
233 | nameL ocation = String(ite ms[i].Serv erRelative Url); | |
234 | nameL ink = "<a href=\"" + nameLocat ion + "\"> " + name + "</a>"; | |
235 | ||
236 | modif ied = Stri ng(items[i ].TimeLast Modified); | |
237 | var m odifiedDat e = new Da te(items[i ].TimeLast Modified); | |
238 | var f ormattedMo difiedDate String = m onthNames[ modifiedDa te.getMont h()] + " " + modifie dDate.getD ate(); | |
239 | ||
240 | modif iedBy = it ems[i].Mod ifiedBy.Ti tle; | |
241 | modif iedById = items[i].M odifiedBy. Id; | |
242 | modif iedByLink = "<a href =\"/sites/ IRBApplica tions/_lay outs/15/us erdisp.asp x?ID=" + m odifiedByI d + "\">" | |
243 | + modifie dBy + "</a >"; | |
244 | ||
245 | var n ewDocument Item = new DocumentI tem(nameLi nk, format tedModifie dDateStrin g, modifie dByLink); | |
246 | afDoc umentsList .push(newD ocumentIte m); | |
247 | ||
248 | } | |
249 | ||
250 | $('#afDo cumentsLis tTable').D ataTable({ | |
251 | "aaSo rting" : [ | |
252 | [ | |
253 | 1, "as c" | |
254 | ] | |
255 | ], | |
256 | data : afDocume ntsList, | |
257 | colum ns : [ | |
258 | { | |
259 | data : 'Name' | |
260 | }, { | |
261 | data : 'Modified ' | |
262 | }, { | |
263 | data : 'Modified By' | |
264 | } | |
265 | ] | |
266 | }); | |
267 | ||
268 | } | |
269 | ||
270 | f unction on Error(erro r) { | |
271 | alert("T his is a w ork in pro gress and will be de livered in a future release"); | |
272 | } | |
273 | ||
274 | f unction Do cumentItem (Title, Mo dified, Mo difiedBy) { | |
275 | this.Nam e = Title; | |
276 | this.Mod ified = Mo dified; | |
277 | this.Mod ifiedBy = ModifiedBy ; | |
278 | } | |
279 | ||
280 | f unction me mberCheck( ) { | |
281 | var curr entUrl = w indow.loca tion.href; | |
282 | var spli tUrl = cur rentUrl.sp lit(".html ")[0]; | |
283 | var faci lityUrl = ""; | |
284 | var user ; | |
285 | var memb ership = { }; | |
286 | membersh ip.RDCMemb er = false ; | |
287 | membersh ip.IRBMemb er = false ; | |
288 | membersh ip.SRSMemb er = false ; | |
289 | membersh ip.IACUCMe mber = fal se; | |
290 | membersh ip.AOMembe r = false; | |
291 | membersh ip.LSAMemb er = false ; | |
292 | membersh ip.RCOMemb er = false ; | |
293 | membersh ip.Liaison sMember = false; | |
294 | membersh ip.AFMMemb er = false ; | |
295 | ||
296 | if (spli tUrl != "" ) { | |
297 | if (s plitUrl.in dexOf("/si tes/IRBApp lications/ ") != -1) { | |
298 | sp litUrl = s plitUrl.sp lit("/site s/IRBAppli cations/") [1]; | |
299 | if (splitUrl .indexOf(" /SitePages /") != -1) { | |
300 | facilityU rl = split Url.split( "/SitePage s/")[0]; | |
301 | } | |
302 | } | |
303 | } | |
304 | ||
305 | if (spli tUrl != "" ) { | |
306 | if (s plitUrl.in dexOf("/si tes/IRBApp lications/ ") != -1) { | |
307 | sp litUrl = s plitUrl.sp lit("/site s/IRBAppli cations/") [1]; | |
308 | if (splitUrl .indexOf(" /SitePages /") != -1) { | |
309 | facilityU rl = split Url.split( "/SitePage s/")[0]; | |
310 | } | |
311 | } | |
312 | } | |
313 | ||
314 | $.ajax({ | |
315 | async : false, | |
316 | type : 'GET', | |
317 | url : ("/sites/ IRBApplica tions/_api /Web/Curre ntUser/Gro ups"), | |
318 | heade rs : { | |
319 | "a ccept" : " applicatio n/json;oda ta=verbose " | |
320 | }, | |
321 | dataT ype : 'jso n', | |
322 | succe ss : funct ion(json) { | |
323 | js on = getFi xedString( json); | |
324 | us er = json. d.results; | |
325 | fo r (var i = 0; i < us er.length; i++) { | |
326 | if (user[ i].Title.i ndexOf(gro upPart + " " + "RDC" ) > -1) { | |
327 | member ship.RDCMe mber = tru e; | |
328 | } | |
329 | if (user[ i].Title.i ndexOf(gro upPart + " " + "IRB" ) > -1) { | |
330 | member ship.IRBMe mber = tru e; | |
331 | } | |
332 | if (user[ i].Title.i ndexOf(gro upPart + " " + "SRS" ) > -1) { | |
333 | member ship.SRSMe mber = tru e; | |
334 | } | |
335 | if (user[ i].Title.i ndexOf(gro upPart + " " + "IACU C") > -1) { | |
336 | member ship.IACUC Member = t rue; | |
337 | } | |
338 | if ((user [i].Title. indexOf("A O") > -1) | |
339 | || (user[i].T itle.index Of(groupPa rt + " " + "Administ rative Off icers") > -1)) { | |
340 | member ship.AOMem ber = true ; | |
341 | } | |
342 | if (user[ i].Title.i ndexOf(gro upPart + " " + "Loca l Site Adm inistrator s") > -1) { | |
343 | member ship.LSAMe mber = tru e; | |
344 | } | |
345 | if ((user [i].Title. indexOf("R CO") > -1) | |
346 | || (user[i].T itle.index Of(groupPa rt + " " + "Research Complianc e Officers ") > -1)) { | |
347 | member ship.RCOMe mber = tru e; | |
348 | } | |
349 | if (user[ i].Title.i ndexOf(gro upPart + " Local Sit e Liaisons ") > -1) { | |
350 | member ship.Liais onsMember = true; | |
351 | } | |
352 | if (user[ i].Title.i ndexOf(gro upPart + " Animal Fa cility Man agers") > -1) { | |
353 | member ship.AFMMe mber = tru e; | |
354 | } | |
355 | } | |
356 | } | |
357 | }); | |
358 | return m embership; | |
359 | } | |
360 | </sc ript> | |
361 | <div cla ss="footer "> | |
362 | <div c lass="cont ainer"> | |
363 | <ul class="foo ter-nav"> | |
364 | <l i><a title ="About" h ref="/site s/IRBAppli cations/Si tePages/Ab out.aspx"> About</a>< /li> | |
365 | <l i><a title ="Training " href="/s ites/IRBAp plications /SitePages /RAMS%20On line%20Hel p.aspx">Tr aining</a> </li> | |
366 | <l i><a title ="Help" hr ef="/sites /IRBApplic ations/Sit ePages/RAM S%20Online %20Help.as px">Help</ a></li> | |
367 | <l i><a title ="FAQs" hr ef="/sites /IRBApplic ations/Sit ePages/FAQ .aspx">FAQ s</a></li> | |
368 | <l i><a title ="Contact Us" href=" /sites/IRB Applicatio ns/SitePag es/Contact %20Us.aspx ">Contact Us</a></li > | |
369 | <l i><a title ="Site Map " href="/s ites/IRBAp plications /SitePages /Site%20Ma p.aspx">Si te Map</a> </li> | |
370 | <l i><a title ="Disclaim er" href=" /sites/IRB Applicatio ns/SitePag es/Disclai mer.aspx"> Disclaimer </a></li> | |
371 | <l i><a title ="Privacy/ Accessibil ity" href= "/sites/IR BApplicati ons/SitePa ges/Access ibility.as px">Privac y | |
372 | / Access ibility</a ></li> | |
373 | <l i><a oncli ck="displa yVersion() ;return fa lse;" titl e="Version " href="#" >Version</ a></li> | |
374 | <l i><a title ="Descript ion" href= "/sites/IR BApplicati ons/SitePa ges/Descri ption.aspx ">Descript ion</a></l i> | |
375 | <li><a tit le="VA Hom e" href="h ttp:// DNS . URL ">VA Home< /a></li> | |
376 | </ul > | |
377 | <p i d="RAMSCop yright" cl ass="pull- right stro ng"></p> | |
378 | </div> | |
379 | </div> | |
380 | <!-- Boo tstrap cor e JavaScri pt | |
381 | ====== ========== ========== ========== ========== ==== --> | |
382 | <!-- Pla ced at the end of th e document so the pa ges load f aster --> | |
383 | <script src="../Si teAssets/j s/bootstra p.min.js" type="text /javascrip t"></scrip t> | |
384 | <script src="../Si teAssets/j s/tooltip. js" type=" text/javas cript"></s cript> | |
385 | <!-- IE1 0 viewport hack for Surface/de sktop Wind ows 8 bug --> | |
386 | <script src="../Si teAssets/j s/ie10-vie wport-bug- workaround .js" type= "text/java script"></ script> | |
387 | <script type="text /javascrip t"> | |
388 | d ocument.ge tElementBy Id("profil e").href = mySitesSe rverName; | |
389 | </sc ript> | |
390 | </body> | |
391 | </html> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.