Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/c62c84fbfbb4541dd0dbd8c505ddec5f61286a71?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
4 deletions
src/document/UBDocumentProxy.cpp
src/gui/UBTeacherGuideWidget.cpp
@ -297,6 +297,8 @@ QString UBDocumentProxy::sessionAuthors()
QDateTime UBDocumentProxy : : documentDate ( )
QDateTime UBDocumentProxy : : documentDate ( )
{
{
qDebug ( ) < < UBSettings : : documentDate ;
qDebug ( ) < < mMetaDatas ;
if ( mMetaDatas . contains ( UBSettings : : documentDate ) )
if ( mMetaDatas . contains ( UBSettings : : documentDate ) )
return UBStringUtils : : fromUtcIsoDate ( metaData ( UBSettings : : documentDate ) . toString ( ) ) ;
return UBStringUtils : : fromUtcIsoDate ( metaData ( UBSettings : : documentDate ) . toString ( ) ) ;
return QDateTime : : currentDateTime ( ) ;
return QDateTime : : currentDateTime ( ) ;
@ -723,10 +723,10 @@ void UBTeacherGuidePageZeroEditionWidget::onActiveSceneChanged()
{
{
UBDocumentProxy * documentProxy = UBApplication : : documentController ? UBApplication : : documentController - > getCurrentDocument ( ) : 0 ;
UBDocumentProxy * documentProxy = UBApplication : : documentController ? UBApplication : : documentController - > getCurrentDocument ( ) : 0 ;
if ( UBApplication : : documentController & & UBApplication : : boardController - > activeSceneIndex ( ) = = 0 ) {
if ( UBApplication : : documentController & & UBApplication : : boardController - > activeSceneIndex ( ) = = 0 ) {
QDateTime creationDate = documentProxy - > documentDate ( ) ;
// QDateTime creationDate = documentProxy->documentDate();
mpCreationLabel - > setText ( tr ( " Created the: " ) + creationDate . toString ( Qt : : SystemLocaleShortDate ) ) ;
// mpCreationLabel->setText(tr("Created the:") + creationDate.toString(Qt::SystemLocaleShortDate));
QDateTime updatedDate = documentProxy - > lastUpdate ( ) ;
// QDateTime updatedDate = documentProxy->lastUpdate();
mpLastModifiedLabel - > setText ( tr ( " Updated the: " ) + updatedDate . toString ( Qt : : SystemLocaleShortDate ) ) ;
// mpLastModifiedLabel->setText(tr("Updated the:") + updatedDate.toString(Qt::SystemLocaleShortDate));
}
}
}
}