Changeset 364 for branches


Ignore:
Timestamp:
10/16/13 16:37:38 (6 years ago)
Author:
jls17
Message:
  • moved the change history of the schema into the accordion control
Location:
branches/work_304
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/ARInside.cpp

    r333 r364  
    20332033} 
    20342034 
    2035 string CARInside::ServerObjectHistory(CARServerObject *obj, int rootLevel) 
     2035string CARInside::ServerObjectHistory(CARServerObject *obj, int rootLevel, bool noTableDescription) 
    20362036{                
    20372037        stringstream strm; 
     
    20662066                tbl.AddColumn(80, "Value"); 
    20672067 
    2068                 tbl.description = CWebUtil::ImageTag("doc.gif", rootLevel) + "Change History"; 
     2068                if (!noTableDescription) 
     2069                        tbl.description = CWebUtil::ImageTag("doc.gif", rootLevel) + "Change History"; 
    20692070 
    20702071                //Owner 
  • branches/work_304/ARInside.h

    r329 r364  
    163163        bool FieldreferenceExists(int schemaInsideId, int fieldInsideId, const CRefItem &refItem); 
    164164 
    165         string ServerObjectHistory(CARServerObject *obj, int rootLevel); 
     165        string ServerObjectHistory(CARServerObject *obj, int rootLevel, bool noTableDescription = false); 
    166166        string DataObjectHistory(CARDataObject *obj, int rootLevel); 
    167167        bool ValidateGroup(const string& appRefName, int permissionId); 
  • branches/work_304/doc/DocSchemaDetails.cpp

    r363 r364  
    18441844                propIdx.UnusedPropertiesToHTML(strm); 
    18451845 
     1846                ShowChangeHistory(strm, &propIdx); 
     1847 
    18461848                strm << "</div>"; 
    18471849        } 
     
    21372139                tbl.AddRow(row); 
    21382140 
    2139                 strm << "<h2>" << CWebUtil::ImageTag("doc.gif", rootLevel) + "Audit Settings:" << "</h2>"; 
     2141                strm << "<h2>" << CWebUtil::ImageTag("doc.gif", rootLevel) << "Audit Settings:" << "</h2>"; 
    21402142                strm << "<div>" << tbl << "</div>"; 
    21412143        } 
     
    22372239                tbl.AddRow(row); 
    22382240 
    2239                 strm << "<h2>" << CWebUtil::ImageTag("doc.gif", rootLevel) + "Archive Settings:" << "</h2>"; 
     2241                strm << "<h2>" << CWebUtil::ImageTag("doc.gif", rootLevel) << "Archive Settings:" << "</h2>"; 
    22402242                strm << "<div>" << tbl << "</div>"; 
    22412243        } 
     
    24692471 
    24702472        strm << "<hr/>" << endl; 
    2471  
    2472         strm << this->pInside->ServerObjectHistory(&this->schema, rootLevel); 
    24732473 
    24742474        return strm.str(); 
     
    26162616                /////////////////////////////////////////////////////////////////////////////////////// 
    26172617 
    2618                 strm << "<h2>" << CWebUtil::ImageTag("doc.gif", rootLevel) + "Full Text Search:" << "</h2>"; 
     2618                strm << "<h2>" << CWebUtil::ImageTag("doc.gif", rootLevel) << "Full Text Search:" << "</h2>"; 
    26192619                strm << "<div>" << tbl << "</div>"; 
    26202620        } 
     
    26252625#endif 
    26262626} 
     2627 
     2628void CDocSchemaDetails::ShowChangeHistory(std::ostream &strm, CARProplistHelper *propIndex) 
     2629{ 
     2630        strm << "<h2>" << CWebUtil::ImageTag("doc.gif", rootLevel) << "Change History &amp; Helptext" << "</h2>" 
     2631             << "<div>" << this->pInside->ServerObjectHistory(&this->schema, rootLevel, true) << "</div>" << endl; 
     2632} 
  • branches/work_304/doc/DocSchemaDetails.h

    r363 r364  
    7373        void ShowArchiveProperties(std::ostream& strm); 
    7474        void ShowFTSMTSProperties(std::ostream& strm, CARProplistHelper *propIndex); 
     75        void ShowChangeHistory(std::ostream &strm, CARProplistHelper *propIndex); 
    7576 
    7677        bool InAlList(string objName); 
Note: See TracChangeset for help on using the changeset viewer.